session_ids.sql 490 B

123456789101112131415161718192021222324
  1. -- Table: public.session_ids
  2. -- DROP TABLE public.session_ids;
  3. CREATE TABLE IF NOT EXISTS public.session_ids
  4. (
  5. id text NOT NULL,
  6. email text,
  7. issued timestamp with time zone,
  8. CONSTRAINT session_ids_pkey PRIMARY KEY (id)
  9. );
  10. GRANT ALL ON TABLE public.session_ids TO current_user;
  11. -- Index: public.session_ids_id_idx
  12. -- DROP INDEX public.session_ids_id_idx;
  13. CREATE INDEX IF NOT EXISTS session_ids_id_idx
  14. ON public.session_ids
  15. USING btree
  16. (id COLLATE pg_catalog."default");