invidious-copy-2022-03-16/config/sql/session_ids.sql

24 lines
455 B
MySQL
Raw Normal View History

2019-02-10 18:33:29 +00:00
-- Table: public.session_ids
-- DROP TABLE public.session_ids;
CREATE TABLE public.session_ids
(
id text NOT NULL,
email text,
issued timestamp with time zone,
CONSTRAINT session_ids_pkey PRIMARY KEY (id)
);
2019-02-10 21:08:53 +00:00
GRANT ALL ON TABLE public.session_ids TO kemal;
2019-02-10 18:33:29 +00:00
-- Index: public.session_ids_id_idx
-- DROP INDEX public.session_ids_id_idx;
CREATE INDEX session_ids_id_idx
ON public.session_ids
USING btree
(id COLLATE pg_catalog."default");