We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#27631 contains a migration that throws an error when downgrading.
def downgrade(): op.drop_index("idx_user_id_database_id", table_name="database_user_oauth2_tokens") op.drop_table("database_user_oauth2_tokens")
Executing the downgrade command will produce:
sqlalchemy.exc.OperationalError: (MySQLdb.OperationalError) (1553, "Cannot drop index 'idx_user_id_database_id': needed in a foreign key constraint")
Execute superset db downgrade be1b217cd8cd which is the previous revision.
superset db downgrade be1b217cd8cd
No response
master / latest-dev
3.9
16
Chrome
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug description
#27631 contains a migration that throws an error when downgrading.
Executing the downgrade command will produce:
How to reproduce the bug
Execute
superset db downgrade be1b217cd8cd
which is the previous revision.Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: