mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
23 lines
490 B
SQL
23 lines
490 B
SQL
-- Table: public.session_ids
|
|
|
|
-- DROP TABLE public.session_ids;
|
|
|
|
CREATE TABLE IF NOT EXISTS 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 current_user;
|
|
|
|
-- Index: public.session_ids_id_idx
|
|
|
|
-- DROP INDEX public.session_ids_id_idx;
|
|
|
|
CREATE INDEX IF NOT EXISTS session_ids_id_idx
|
|
ON public.session_ids
|
|
USING btree
|
|
(id COLLATE pg_catalog."default");
|
|
|