2018-03-24 20:44:17 -07:00
|
|
|
-- Table: public.channels
|
|
|
|
|
|
|
|
-- DROP TABLE public.channels;
|
|
|
|
|
|
|
|
CREATE TABLE public.channels
|
|
|
|
(
|
2018-11-02 07:46:45 -07:00
|
|
|
id text NOT NULL,
|
|
|
|
author text,
|
|
|
|
updated timestamp with time zone,
|
2019-02-09 08:18:24 -08:00
|
|
|
deleted boolean,
|
2018-11-02 07:46:45 -07:00
|
|
|
CONSTRAINT channels_id_key UNIQUE (id)
|
|
|
|
);
|
2018-03-24 20:44:17 -07:00
|
|
|
|
|
|
|
GRANT ALL ON TABLE public.channels TO kemal;
|
2018-03-29 19:41:05 -07:00
|
|
|
|
2018-11-02 07:46:45 -07:00
|
|
|
-- Index: public.channels_id_idx
|
2018-03-29 19:41:05 -07:00
|
|
|
|
|
|
|
-- DROP INDEX public.channels_id_idx;
|
|
|
|
|
|
|
|
CREATE INDEX channels_id_idx
|
2018-11-02 07:46:45 -07:00
|
|
|
ON public.channels
|
|
|
|
USING btree
|
|
|
|
(id COLLATE pg_catalog."default");
|
|
|
|
|