howmuch/migrations/20241006114157_admin_table_add_constraint.postgres.up.sql

3 lines
66 B
SQL

ALTER TABLE "admin"
ADD CONSTRAINT unique_email UNIQUE ("email");