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 steps with same name are erroneously skipped #11
Comments
Ouch, there's another problem here: sqlite-migrate/sqlite_migrate/__init__.py Lines 84 to 97 in 82f3459
The primary key on |
Frustrating that we don't have migrations for the |
I manually tested it against a file that had previously been migrated. Before it had the old single primary key:
Now it has the new primary key scheme:
Running it a second time makes no changes:
|
Discovered when I had two separate migrations with different
migration_set
names but the same step name.The first migration:
The second:
The
m1.m001_init()
step runs successfully, butm2.m001_init()
is skipped. This is because they share the same step namem001_init
, but they should have a different namespace anyway.Caused by this, I think:
sqlite-migrate/sqlite_migrate/__init__.py
Line 51 in 82f3459
The text was updated successfully, but these errors were encountered: