Skip to content
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

Preserve foreign key ON DELETE attributes when FK columns are duplicated #314

Merged
merged 4 commits into from
Mar 7, 2024

Conversation

andrew-farries
Copy link
Collaborator

Ensure that a foreign key's ON DELETE attribute is preserved when a foreign key column is duplicated by a migration.

Fixes #313

Ensure that the `ON DELETE` property of foreign keys is preserved when
an FK column is duplicated for backfilling.
@andrew-farries andrew-farries merged commit 547ac3e into main Mar 7, 2024
42 checks passed
@andrew-farries andrew-farries deleted the duplicate-fk-on-delete-attribute branch March 7, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure foreign key ON DELETE attribute is preserved when FK columns are duplicated
2 participants