-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop unnecessary unique constraints (#252)
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
src/main/resources/scripts/U3_5_0_5__drop_principal_name_and_email_unique_constraints.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CREATE UNIQUE INDEX users_mail_index ON users (mail); | ||
CREATE UNIQUE INDEX users_mail_key ON users (mail); | ||
CREATE UNIQUE INDEX users_principal_name_index ON users (principal_name); | ||
CREATE UNIQUE INDEX users_principal_name_key ON users (principal_name); |
4 changes: 4 additions & 0 deletions
4
src/main/resources/scripts/V3_5_0_5__drop_principal_name_and_email_unique_constraints.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DROP INDEX IF EXISTS users_mail_index; | ||
DROP INDEX IF EXISTS users_mail_key; | ||
DROP INDEX IF EXISTS users_principal_name_index; | ||
DROP INDEX IF EXISTS users_principal_name_key; |