nonces.sql 437 B

1234567891011121314151617181920212223
  1. -- Table: public.nonces
  2. -- DROP TABLE public.nonces;
  3. CREATE TABLE IF NOT EXISTS public.nonces
  4. (
  5. nonce text,
  6. expire timestamp with time zone,
  7. CONSTRAINT nonces_id_key UNIQUE (nonce)
  8. );
  9. GRANT ALL ON TABLE public.nonces TO current_user;
  10. -- Index: public.nonces_nonce_idx
  11. -- DROP INDEX public.nonces_nonce_idx;
  12. CREATE INDEX IF NOT EXISTS nonces_nonce_idx
  13. ON public.nonces
  14. USING btree
  15. (nonce COLLATE pg_catalog."default");