invidious-copy-2022-04-11/config/sql/users.sql
2018-03-31 10:30:17 -05:00

21 lines
538 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 integer,
subscriptions text[] COLLATE pg_catalog."default",
notifications_viewed timestamp with time zone,
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;