-
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.
Fall back to raw SQL for
NOT VALID
foreign key constraints (#539)
Update how `sql2pgroll` handles conversion of `ALTER TABLE ... ADD CONSTRAINT ... FOREIGN KEY` statements. Fall back to raw SQL if `NOT VALID` is specified as part of an `ALTER TABLE ... ADD CONSTRAINT ... FOREIGN KEY` statement because `OpCreateMultiColumnConstraint` currently always validates foreign key constraints.
- Loading branch information
1 parent
3de40ab
commit c68ba72
Showing
2 changed files
with
5 additions
and
4 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