-
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.
Duplicate unique and check constraints correctly (#466)
Previously, unique and check constraints with multiple columns were not duplicated correctly. We had two issues: 1. Pgroll tried to create the same duplicated index for each renamed column. From now on pgroll creates the index once with the new column names. 2. Pgroll tried to convert the unique index to a constraint multiple times. From now on, the index is only converted once. Required by #464 --------- Co-authored-by: Andrew Farries <[email protected]>
- Loading branch information
1 parent
85e917c
commit 5d63a7f
Showing
7 changed files
with
375 additions
and
165 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
Oops, something went wrong.