-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unique index created twice (#7718)
`isUnique` was passed to TypeORM's column creation API resulting in double index creation because it's already done via the decorator and then in `WorkspaceMigrationIndexFactory` It would be interesting to move it at this field level in a later step, which is why I also fixed `CompositeColumnActionFactory` to pass isUnique on the correct columns, even though it's being ignored later on
- Loading branch information
1 parent
7e808cf
commit f3fe3ab
Showing
3 changed files
with
9 additions
and
5 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
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