Clarified migration references - #2988
Merged
Merged
Conversation
Preview of modified filesPreview of modified Markdown: |
mnocon
commented
Jan 20, 2026
reithor
approved these changes
Jan 20, 2026
ibexa-workflow-automation-1
Bot
requested review from
adriendupuis,
dabrt and
julitafalcondusza
and removed request for
a team
January 20, 2026 12:25
adriendupuis
requested changes
Jan 20, 2026
| Reference files are located in a separate directory `src/Migrations/Ibexa/references` (for more information, see [previewing reference](#preview-configuration) `ibexa_migrations.migration_directory` and `ibexa_migrations.references_files_subdir` options). | ||
|
|
||
| Reference files are **NOT** loaded by default. A separate step (type: "reference", mode: "load", with filename as "value") is required. | ||
| Similarly, saving a reference file is done using type: "reference", mode: "save" step, with filename. |
Contributor
There was a problem hiding this comment.
What happens to the file if it already exists? Overridden or appended?
Contributor
Author
There was a problem hiding this comment.
Overriden (see https://github.com/ibexa/migrations/blob/main/src/lib/Dumper/MigrationDumper.php#L50 and https://github.com/thephpleague/flysystem/blob/5966a8ba23e62bdb518dd9e0e665c2dbd4b5b277/src/Local/LocalFilesystemAdapter.php#L128C69-L128C79 without APPEND flag for an example implementation).
I'll add a note about this.
mnocon
commented
Jan 20, 2026
Co-authored-by: Thorsten Reiter <34274688+reithor@users.noreply.github.com>
Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
mnocon
force-pushed
the
migration-improvements
branch
from
January 20, 2026 16:41
916e2f1 to
e52ed91
Compare
adriendupuis
approved these changes
Jan 22, 2026
mnocon
added a commit
that referenced
this pull request
Jan 22, 2026
* Clarified migration references * Update docs/content_management/data_migration/managing_migrations.md * Apply suggestions from code review Co-authored-by: Thorsten Reiter <34274688+reithor@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> * Added mention about overwriting --------- Co-authored-by: Thorsten Reiter <34274688+reithor@users.noreply.github.com> Co-authored-by: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As suggested on Slack (conversation from 30.10.2025)