You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
invidious/config/sql/channels.sql

26 lines
520 B
MySQL

7 years ago
-- Table: public.channels
-- DROP TABLE public.channels;
CREATE TABLE IF NOT EXISTS public.channels
7 years ago
(
6 years ago
id text NOT NULL,
author text,
updated timestamp with time zone,
deleted boolean,
subscribed timestamp with time zone,
6 years ago
CONSTRAINT channels_id_key UNIQUE (id)
);
7 years ago
GRANT ALL ON TABLE public.channels TO current_user;
7 years ago
6 years ago
-- Index: public.channels_id_idx
7 years ago
-- DROP INDEX public.channels_id_idx;
CREATE INDEX IF NOT EXISTS channels_id_idx
6 years ago
ON public.channels
USING btree
(id COLLATE pg_catalog."default");