feat(migration-bundle): add collection-level selection and file filtering#302
Open
fefehun wants to merge 1 commit intodirectus-labs:mainfrom
Open
feat(migration-bundle): add collection-level selection and file filtering#302fefehun wants to merge 1 commit intodirectus-labs:mainfrom
fefehun wants to merge 1 commit intodirectus-labs:mainfrom
Conversation
…ring - Add ability to select specific collections for schema and content migration - Add file filtering based on selected collections - Add parent group collection auto-inclusion - Add Schema as selectable migration option - Filter panels, flows, presets, and comments by collection - Add environment variables: MIGRATION_BUNDLE_SELECTED_COLLECTIONS, MIGRATION_BUNDLE_EXCLUDED_COLLECTIONS - Document PostgreSQL requirement for target instance (Directus Issue #20428) Closes directus-labs#266, Closes directus-labs#294 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.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.
Summary
This PR adds collection-level selection functionality to the migration-bundle extension, allowing users to select specific collections to migrate instead of migrating all content at once.
Addresses: #266, #294
Features Added
MIGRATION_BUNDLE_SELECTED_COLLECTIONSMIGRATION_BUNDLE_EXCLUDED_COLLECTIONSImportant Note: PostgreSQL Requirement
Due to a known Directus bug (#20428), schema migrations may fail on MySQL target instances. The bug causes
char(36)tovarchar(36)conversion which breaks MySQL foreign key constraints.Recommendation: Use PostgreSQL for the target instance.
Test Plan
🤖 Generated with Claude Code