invidious-experimenting/config/sql/users.sql
2018-03-29 22:27:51 -05:00

19 lines
386 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",
CONSTRAINT users_id_key UNIQUE (id)
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
GRANT ALL ON TABLE public.users TO kemal;