sadpandajoe commented on code in PR #30017:
URL: https://github.com/apache/superset/pull/30017#discussion_r1742668917
##########
superset/migrations/versions/2024-08-13_15-17_39549add7bfc_remove_sl_table_columns_table.py:
##########
@@ -26,17 +26,19 @@
from alembic import op
from superset.migrations.shared.constraints import drop_fks_for_table
+from superset.migrations.shared.utils import has_table
# revision identifiers, used by Alembic.
revision = "39549add7bfc"
down_revision = "02f4f7811799"
def upgrade():
- connection = op.get_bind()
- if connection.dialect.name != "sqlite":
- drop_fks_for_table("sl_table_columns")
- op.drop_table("sl_table_columns")
+ table_name = "sl_table_columns"
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]