-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Refactor migration with ctx manager to diable sqlite fkey #51392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Refactor migration with ctx manager to diable sqlite fkey #51392
Conversation
You can enable the CI migration test for sqlite here: https://github.com/apache/airflow/blob/main/.github/actions/migration_tests/action.yml. Except for the offline migration |
Please let's enable this test before merge |
Hi @ephraimbuddy, sorry that I still can't get it. |
It's just to remove this line:
|
74121d2
to
891df2c
Compare
95c6b51
to
c272f1c
Compare
20766e0
to
df1672f
Compare
df1672f
to
dc46f7a
Compare
dc46f7a
to
5f63916
Compare
related: #51336
What
Follow-up PR for #51336 (comment) comment, use
disable_sqlite_fkeys
context manager instead of manual call for disabling SQLite Foreign Key constraint in db-migrations.