invidious/config/sql/channels.sql

25 lines
446 B
MySQL
Raw Normal View History

2018-03-25 09:14:17 +05:30
-- Table: public.channels
-- DROP TABLE public.channels;
CREATE TABLE public.channels
(
2018-11-02 20:16:45 +05:30
id text NOT NULL,
author text,
updated timestamp with time zone,
2019-02-09 21:48:24 +05:30
deleted boolean,
2018-11-02 20:16:45 +05:30
CONSTRAINT channels_id_key UNIQUE (id)
);
2018-03-25 09:14:17 +05:30
GRANT ALL ON TABLE public.channels TO kemal;
2018-03-30 08:11:05 +05:30
2018-11-02 20:16:45 +05:30
-- Index: public.channels_id_idx
2018-03-30 08:11:05 +05:30
-- DROP INDEX public.channels_id_idx;
CREATE INDEX channels_id_idx
2018-11-02 20:16:45 +05:30
ON public.channels
USING btree
(id COLLATE pg_catalog."default");