-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve foreign key constraints when changing a column's type (#232)
Preserve any foreign key constraints defined on columns when changing a column's type. Uses the `Duplicator` type added in #230 in the 'change type' operation to ensure that FK constraints are preserved when the column is duplicated for backfilling. #230 did the same thing for preserving FK constraints when a column has a `NOT NULL` constraint added. Part of #227
- Loading branch information
1 parent
b81c42c
commit fc7370f
Showing
3 changed files
with
223 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.