feat(sql): Add unique constraint to admin's email

This commit is contained in:
Muyao CHEN 2024-10-06 13:44:27 +02:00
parent 2c1beb30f6
commit 4546665461
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE "admin"
ADD CONSTRAINT unique_email UNIQUE ("email");