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,
|
|
|
|
notifications integer,
|
2018-03-30 03:27:51 +00:00
|
|
|
subscriptions text[] COLLATE pg_catalog."default",
|
|
|
|
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;
|