Remove ID constrant for users

This commit is contained in:
Omar Roth 2018-08-15 19:30:13 -05:00
parent 8adb4650a0
commit 74cf3d18d0
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ CREATE TABLE public.users
password text COLLATE pg_catalog."default",
token text COLLATE pg_catalog."default",
watched text[] COLLATE pg_catalog."default",
CONSTRAINT users_email_key UNIQUE (email),
CONSTRAINT users_id_key UNIQUE (id)
CONSTRAINT users_email_key UNIQUE (email)
)
WITH (
OIDS = FALSE