refactor: Migration for Tabbed Sql Editor#17925
Merged
Merged
Conversation
1acb89d to
ebb9b57
Compare
Member
|
This looks great! But let's wait until we have the sibling PR ready and approved before merging this, in case we need to change the migration. |
betodealmeida
requested changes
Jan 4, 2022
Member
betodealmeida
left a comment
There was a problem hiding this comment.
Blocking this just in case.
Contributor
|
❗ Please consider rebasing your branch to avoid db migration conflicts. |
9 tasks
eschutho
reviewed
Jan 5, 2022
ebb9b57 to
a8b27ce
Compare
shcoderAlex
pushed a commit
to casual-precision/superset
that referenced
this pull request
Feb 7, 2022
* a lot of console logs * migration for tabbed Sql Editors
bwang221
pushed a commit
to casual-precision/superset
that referenced
this pull request
Feb 10, 2022
* a lot of console logs * migration for tabbed Sql Editors
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
* a lot of console logs * migration for tabbed Sql Editors
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
This is the first portion of a larger bug issue of retaining a query's saved status when refreshing the page in sql lab. In order to create this we needed to create a foreign key in the tab state view that links it to the saved query.
This migration does that, and the subsequent logic is here: #17771
Benchmark
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION