diff --git a/src/main/resources/scripts/U3_5_0_3__drop_email_unique_constraint.sql b/src/main/resources/scripts/U3_5_0_3__drop_email_unique_constraint.sql new file mode 100644 index 0000000..e0cd1d8 --- /dev/null +++ b/src/main/resources/scripts/U3_5_0_3__drop_email_unique_constraint.sql @@ -0,0 +1 @@ +CREATE UNIQUE INDEX users_mail_key ON users (mail); \ No newline at end of file diff --git a/src/main/resources/scripts/V3_5_0_3__drop_email_unique_constraint.sql b/src/main/resources/scripts/V3_5_0_3__drop_email_unique_constraint.sql new file mode 100644 index 0000000..85ae781 --- /dev/null +++ b/src/main/resources/scripts/V3_5_0_3__drop_email_unique_constraint.sql @@ -0,0 +1 @@ +ALTER TABLE users DROP CONSTRAINT IF EXISTS users_mail_key; \ No newline at end of file