Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration groups #6

Merged
merged 5 commits into from
Mar 1, 2024
Merged

Migration groups #6

merged 5 commits into from
Mar 1, 2024

Conversation

adam-fowler
Copy link
Member

Add support for defining migration groups that are independent of each other.
This will allow library type features like jobs and persist to add additional migrations without affecting other migrations.
A migration group should only be used if you are certain the group of migrations will always be truly independent from all other migrations.

  • during this PR I have also split the migration code into multiple files. I wanted to move them into a separate folder, but felt that would make the review harder, so will do that at a later date.
  • I also added support for tracking the order or migrations and reverts in the tests

Fix issues where a migration from another group is present
@adam-fowler adam-fowler merged commit 20524ac into main Mar 1, 2024
6 checks passed
@adam-fowler adam-fowler deleted the migration-groups branch March 1, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants