mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
23 lines
670 B
SQL
23 lines
670 B
SQL
-- Table: public.users
|
|
|
|
-- DROP TABLE public.users;
|
|
|
|
CREATE TABLE public.users
|
|
(
|
|
id text[] COLLATE pg_catalog."default" NOT NULL,
|
|
updated timestamp with time zone,
|
|
notifications text[] COLLATE pg_catalog."default",
|
|
subscriptions text[] COLLATE pg_catalog."default",
|
|
email text COLLATE pg_catalog."default" NOT NULL,
|
|
preferences text COLLATE pg_catalog."default",
|
|
password text COLLATE pg_catalog."default",
|
|
token text COLLATE pg_catalog."default",
|
|
watched text[] COLLATE pg_catalog."default",
|
|
CONSTRAINT users_email_key UNIQUE (email)
|
|
)
|
|
WITH (
|
|
OIDS = FALSE
|
|
)
|
|
TABLESPACE pg_default;
|
|
|
|
GRANT ALL ON TABLE public.users TO kemal;
|