jedcunningham commented on code in PR #51952: URL: https://github.com/apache/airflow/pull/51952#discussion_r2164693931
########## 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.") + return Review Comment: We removed this concept. ########## 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: We removed this concept. -- 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