24 lines
670 B
MySQL
Raw Normal View History

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