mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Make user id unique
This commit is contained in:
parent
6c4cfbe39d
commit
0aa8ad9a7c
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@ CREATE TABLE public.users
|
||||||
id text COLLATE pg_catalog."default" NOT NULL,
|
id text COLLATE pg_catalog."default" NOT NULL,
|
||||||
updated timestamp with time zone,
|
updated timestamp with time zone,
|
||||||
notifications integer,
|
notifications integer,
|
||||||
subscriptions text[] COLLATE pg_catalog."default"
|
subscriptions text[] COLLATE pg_catalog."default",
|
||||||
|
CONSTRAINT users_id_key UNIQUE (id)
|
||||||
)
|
)
|
||||||
WITH (
|
WITH (
|
||||||
OIDS = FALSE
|
OIDS = FALSE
|
||||||
|
|
Loading…
Reference in a new issue