Make user id unique

pull/3/head
Omar Roth 7 years ago
parent 6c4cfbe39d
commit 0aa8ad9a7c

@ -7,7 +7,8 @@ CREATE TABLE public.users
id text COLLATE pg_catalog."default" NOT NULL,
updated timestamp with time zone,
notifications integer,
subscriptions text[] COLLATE pg_catalog."default"
subscriptions text[] COLLATE pg_catalog."default",
CONSTRAINT users_id_key UNIQUE (id)
)
WITH (
OIDS = FALSE

Loading…
Cancel
Save