serverctl/migrations/002_emails_are_unique_for_user.sql
2022-02-14 01:25:36 +01:00

11 lines
300 B
SQL

-- Write your migrate up statements here
create unique index user_email_unique_index
on sctl_user(email);
---- create above / drop below ----
drop index user_email_unique_index;
-- Write your migrate down statements here. If this migration is irreversible
-- Then delete the separator line above.