mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-09 15:02:51 -04:00
Use seperate table for videos pulled from RSS
This commit is contained in:
parent
e89f15a65c
commit
239a6c892c
6 changed files with 81 additions and 54 deletions
|
@ -5,9 +5,8 @@
|
|||
CREATE TABLE public.channels
|
||||
(
|
||||
id text COLLATE pg_catalog."default" NOT NULL,
|
||||
rss text COLLATE pg_catalog."default",
|
||||
updated timestamp with time zone,
|
||||
author text COLLATE pg_catalog."default"
|
||||
author text COLLATE pg_catalog."default",
|
||||
updated timestamp with time zone
|
||||
)
|
||||
WITH (
|
||||
OIDS = FALSE
|
||||
|
@ -15,12 +14,3 @@ WITH (
|
|||
TABLESPACE pg_default;
|
||||
|
||||
GRANT ALL ON TABLE public.channels TO kemal;
|
||||
|
||||
-- Index: channel_id_idx
|
||||
|
||||
-- DROP INDEX public.channel_id_idx;
|
||||
|
||||
CREATE UNIQUE INDEX channel_id_idx
|
||||
ON public.channels USING btree
|
||||
(id COLLATE pg_catalog."default")
|
||||
TABLESPACE pg_default;
|
Loading…
Add table
Add a link
Reference in a new issue