summaryrefslogtreecommitdiffstats
path: root/config/sql/users.sql
blob: dde3b924f23f9c6035bab8cbc2b8b1c391a340d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- 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"
)
WITH (
    OIDS = FALSE
)
TABLESPACE pg_default;

GRANT ALL ON TABLE public.users TO kemal;