invidious-copy-2022-04-11/config/sql/channels.sql

24 lines
427 B
MySQL
Raw Normal View History

2018-03-25 03:44:17 +00:00
-- Table: public.channels
-- DROP TABLE public.channels;
CREATE TABLE public.channels
(
2018-11-02 14:46:45 +00:00
id text NOT NULL,
author text,
updated timestamp with time zone,
CONSTRAINT channels_id_key UNIQUE (id)
);
2018-03-25 03:44:17 +00:00
GRANT ALL ON TABLE public.channels TO kemal;
2018-03-30 02:41:05 +00:00
2018-11-02 14:46:45 +00:00
-- Index: public.channels_id_idx
2018-03-30 02:41:05 +00:00
-- DROP INDEX public.channels_id_idx;
CREATE INDEX channels_id_idx
2018-11-02 14:46:45 +00:00
ON public.channels
USING btree
(id COLLATE pg_catalog."default");