chore: Add explicit ON DELETE CASCADE for dashboard_slices#24938
Merged
michael-s-molina merged 1 commit intoapache:masterfrom Aug 10, 2023
Merged
Conversation
dc79d04 to
b3fc170
Compare
9 tasks
Codecov Report
@@ Coverage Diff @@
## master #24938 +/- ##
==========================================
- Coverage 69.00% 69.00% -0.01%
==========================================
Files 1906 1906
Lines 74147 74143 -4
Branches 8209 8209
==========================================
- Hits 51166 51162 -4
Misses 20858 20858
Partials 2123 2123
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
b3fc170 to
b7bb0dc
Compare
john-bodley
commented
Aug 9, 2023
Member
Author
There was a problem hiding this comment.
My default this is an empty list.
b7bb0dc to
ed7f067
Compare
ed7f067 to
dc8dae0
Compare
michael-s-molina
approved these changes
Aug 10, 2023
Member
michael-s-molina
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the improvement @john-bodley!
michael-s-molina
pushed a commit
that referenced
this pull request
Aug 10, 2023
9 tasks
vinothkumar66
pushed a commit
to vinothkumar66/superset
that referenced
this pull request
Nov 11, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
Somewhat akin to #24628, this PR ensures explicit ON DELETE CASCADE operations are set for the
dashboard_slicestable which means these relationships don't need to be explicitly deleted for non-SQLAlchemy ORM operations.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
CI.
ADDITIONAL INFORMATION