dstandish commented on code in PR #51952: URL: https://github.com/apache/airflow/pull/51952#discussion_r2164593386
########## airflow-core/src/airflow/utils/db_cleanup.py: ########## @@ -231,9 +259,13 @@ def _do_delete( delete = source_table.delete().where( and_(col == target_table.c[col.name] for col in source_table.primary_key.columns) ) + if skip_delete: + print(f"Skipping deletion for FK table {orm_model.name}; relying on ON DELETE CASCADE.") Review Comment: is this actually an FK table? don't see anythin gspecific to FKs here -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org