mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-23 05:57:21 +00:00
21 lines
515 B
SQL
21 lines
515 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,
|
|
CONSTRAINT users_email_key UNIQUE (email),
|
|
CONSTRAINT users_id_key UNIQUE (id)
|
|
)
|
|
WITH (
|
|
OIDS = FALSE
|
|
)
|
|
TABLESPACE pg_default;
|
|
|
|
GRANT ALL ON TABLE public.users TO kemal;
|