mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2025-06-05 23:29:12 +02:00
Make user id unique
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user