-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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: Downgrade of revision 678eefb4ab44 throws error #29799
fix: Downgrade of revision 678eefb4ab44 throws error #29799
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #29799 +/- ##
===========================================
+ Coverage 60.48% 83.70% +23.21%
===========================================
Files 1931 527 -1404
Lines 76236 38012 -38224
Branches 8568 0 -8568
===========================================
- Hits 46114 31819 -14295
+ Misses 28017 6193 -21824
+ Partials 2105 0 -2105
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM - though it could be nice to implement as a reusable function def drop_fks_for_table(table_name)
in superset/migrations/shared/constraints.py
Good point. Done 👍🏼 |
@supersetbot label 4.1 |
(cherry picked from commit 249f5ec)
(cherry picked from commit 249f5ec)
(cherry picked from commit 249f5ec)
SUMMARY
Fixes the following error when downgrading revision
678eefb4ab44
:Fixes #29789
TESTING INSTRUCTIONS
Make sure you can downgrade the revision.
ADDITIONAL INFORMATION