-
-
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
rebase_migration behaviour when renaming an applied migration #10
Comments
Perhaps simply renaming entries and fiddling the applied time in the |
That's also an option. I'd be less inclined to take it though as it wouldn't prove that the rebased migration works in its new place in the history. |
from my POV the minimum bar is not creating a situation where the local DB has applied migrations that no longer exist, anything beyond that is bonus |
I just released version 1.3.0 with the guard added in #26 . |
As suggested by @tolomea.
Before renaming the migration,
rebase-migration
could roll it back from the local DB, perhaps with a prompt, or it could simply warn/error that the migration has already been applied.The text was updated successfully, but these errors were encountered: