Skip to content

Added description of "allow_no_delete" in migrations#2853

Merged
mnocon merged 1 commit into
4.6from
IBX-9185-migrations_allow_no_delete
Jul 30, 2025
Merged

Added description of "allow_no_delete" in migrations#2853
mnocon merged 1 commit into
4.6from
IBX-9185-migrations_allow_no_delete

Conversation

@mnocon

@mnocon mnocon commented Jul 25, 2025

Copy link
Copy Markdown
Contributor

Doc for https://github.com/ibexa/migrations/pull/400 (and a bit for https://github.com/ibexa/migrations/pull/341 , because it was in the example)

Target: 4.6, 5.0

@github-actions

Copy link
Copy Markdown

Preview of modified files

Preview of modified Markdown:

@github-actions

Copy link
Copy Markdown

code_samples/ change report

Before (on target branch)After (in current PR)

code_samples/data_migration/examples/delete_content.yaml


code_samples/data_migration/examples/delete_content.yaml

docs/content_management/data_migration/importing_data.md@247:``` yaml
docs/content_management/data_migration/importing_data.md@248:[[= include_file('code_samples/data_migration/examples/delete_content.yaml') =]]
docs/content_management/data_migration/importing_data.md@249:```

001⫶-
002⫶ type: content
003⫶ mode: delete
004⫶ match:
005⫶ field: content_remote_id
006⫶ value: __REMOTE_ID__
007⫶ only_visible_content: true # Optional, default: true. If set to true, only visible content will be deleted.
008⫶ allow_no_delete: false # Optional, default: false. If set to true, the migration will not fail if no content is found using the specified criteria.

Download colorized diff

@mnocon mnocon marked this pull request as ready for review July 29, 2025 07:51
@mnocon mnocon requested a review from Steveb-p July 29, 2025 07:52
@mnocon mnocon requested a review from a team July 29, 2025 08:22
@ezrobot ezrobot requested review from adriendupuis, dabrt and julitafalcondusza and removed request for a team July 29, 2025 08:23
@mnocon mnocon merged commit 208f888 into 4.6 Jul 30, 2025
12 checks passed
@mnocon mnocon deleted the IBX-9185-migrations_allow_no_delete branch July 30, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants