invidious-copy-2022-04-11/config/sql/users.sql

25 lines
708 B
MySQL
Raw Normal View History

2018-03-30 02:41:05 +00:00
-- Table: public.users
-- DROP TABLE public.users;
CREATE TABLE public.users
(
id text COLLATE pg_catalog."default" NOT NULL,
updated timestamp with time zone,
2018-04-01 00:09:27 +00:00
notifications text[] COLLATE pg_catalog."default",
2018-03-30 03:27:51 +00:00
subscriptions text[] COLLATE pg_catalog."default",
2018-03-31 15:30:17 +00:00
email text COLLATE pg_catalog."default" NOT NULL,
2018-07-19 01:07:24 +00:00
preferences text COLLATE pg_catalog."default",
2018-07-18 19:26:02 +00:00
password text COLLATE pg_catalog."default",
2018-07-20 23:41:23 +00:00
token text COLLATE pg_catalog."default",
2018-07-29 01:40:59 +00:00
watched text[] COLLATE pg_catalog."default",
2018-03-31 15:30:17 +00:00
CONSTRAINT users_email_key UNIQUE (email),
2018-03-30 03:27:51 +00:00
CONSTRAINT users_id_key UNIQUE (id)
2018-03-30 02:41:05 +00:00
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
GRANT ALL ON TABLE public.users TO kemal;