michael-s-molina commented on code in PR #32759:
URL: https://github.com/apache/superset/pull/32759#discussion_r2004204579
##########
superset/migrations/shared/utils.py:
##########
@@ -406,3 +417,57 @@ def drop_index(table_name: str, index_name: str) -> None:
)
op.drop_index(table_name=table_name, index_name=index_name)
+
+
+def create_fks_for_table(
+ constraint_name: str,
Review Comment:
Could you also rename to `fk_name` here? Constraint is more generic term and
can be a foreign key, unique key, not null, etc.
--
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]