ephraimbuddy commented on code in PR #44221:
URL: https://github.com/apache/airflow/pull/44221#discussion_r1863601795
##########
airflow/migrations/versions/0041_3_0_0_rename_dataset_as_asset.py:
##########
@@ -285,13 +285,6 @@ def upgrade():
unique=False,
)
- batch_op.create_foreign_key(
- constraint_name="toar_asset_fkey",
- referent_table="asset",
- local_cols=["asset_id"],
- remote_cols=["id"],
- ondelete="CASCADE",
- )
Review Comment:
Only one remains now, and I have spent quality time trying to solve it but
have yet to figure it out. Since this is sqlite only, should we merge and debug
the issue in another PR?
Remaining one:
```
/usr/local/lib/python3.9/contextlib.py:126 SAWarning: WARNING: SQL-parsed
foreign key constraint '('alias_id', 'asset_alias', 'id')' could not be located
in PRAGMA foreign_keys for table asset_alias_asset
```
--
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]