-
Notifications
You must be signed in to change notification settings - Fork 14k
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
fix(migrations): reorder skipped 1.4 migrations #19543
fix(migrations): reorder skipped 1.4 migrations #19543
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19543 +/- ##
==========================================
- Coverage 66.57% 66.54% -0.03%
==========================================
Files 1682 1682
Lines 64321 64321
Branches 6561 6561
==========================================
- Hits 42821 42804 -17
- Misses 19799 19816 +17
Partials 1701 1701
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm running
Nothing happens on
Not sure if it's related to this PR. |
@betodealmeida to double check, I pulled current master, wiped my metastore and ran |
(cherry picked from commit e1ef2ba)
@betodealmeida I'm facing the same problem, did you find the solution? |
@lzfxxx Probably, there is an existing sqlite database. You can check its presence |
SUMMARY
Two migrations (
b92d69a6643c
and0ca9e5f1dacd
) had been skipped in the 1.4 release, causing errors when upgrading from 1.4 to 1.5 or master. See the different down revisions off9847149153d
in 1.4 and master:superset/superset/migrations/versions/f9847149153d_add_certifications_columns_to_slice.py
Lines 29 to 30 in 9fc5e09
superset/superset/migrations/versions/f9847149153d_add_certifications_columns_to_slice.py
Lines 29 to 30 in 156ac7d
This places the skipped migrations in front of the first migration of 1.5, making sure the migrations are applied to the metadata.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
superset init
and see the errorADDITIONAL INFORMATION