1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-30 09:46:14 -05:00
invidious/config/sql/session_ids.sql
2019-02-10 15:08:53 -06:00

24 lines
455 B
SQL

-- 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)
);
GRANT ALL ON TABLE public.session_ids TO kemal;
-- 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");