Skip to content

Commit

Permalink
Drop unnecessary unique constraints (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
boavenn authored Oct 22, 2024
1 parent 24e46e7 commit 3edb6c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
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);
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;

0 comments on commit 3edb6c0

Please sign in to comment.