-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Option to force rebase_migration to rebase even if the migration has been applied #184
Comments
Sure, if you want to contribute such an option, feel free. |
Closing due to inactivity and lack of further demand. |
roanster007
added a commit
to roanster007/django-linear-migrations
that referenced
this issue
Aug 5, 2024
…re applied. Previously, while rebasing migrations, if the migration to be rebased is already applied, it would throw out an error asking to un apply the migration before rebasing. This commit un applies the migrations and rebases them when the migrations to be rebased are already applied. This is done by first creating a --merge migration, un applying the previous migrations, removing the --merge migration, and then rebasing the existing migrations. Fixes adamchainz#184
roanster007
added a commit
to roanster007/django-linear-migrations
that referenced
this issue
Aug 9, 2024
Previously, while rebasing migrations, if the migration to be rebased is already applied, it would throw out an error asking to un apply the migration before rebasing. This commit un applies the migrations and rebases them when the migrations to be rebased are already applied. This is done by first creating a --merge migration, un applying the previous migrations, removing the --merge migration, and then rebasing the existing migrations. Fixes adamchainz#184
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I don't want to stop the rebase to unapply that migration, I would prefer to rebase the migration anyways and do migrate --fake if needed
The text was updated successfully, but these errors were encountered: