mirror of
https://github.com/ente-io/ente.git
synced 2025-05-24 03:59:22 +00:00
9 lines
198 B
PL/PgSQL
9 lines
198 B
PL/PgSQL
BEGIN;
|
|
ALTER TABLE
|
|
otts DROP CONSTRAINT IF EXISTS unique_otts_emailhash_ott;
|
|
|
|
ALTER TABLE
|
|
otts
|
|
ADD
|
|
CONSTRAINT unique_otts_emailhash_app_ott UNIQUE (ott,app, email_hash);
|
|
COMMIT; |