1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-30 01:36:13 -05:00
invidious/config/sql/nonces.sql

23 lines
402 B
MySQL
Raw Normal View History

-- Table: public.nonces
-- DROP TABLE public.nonces;
CREATE TABLE public.nonces
(
2018-11-19 19:41:11 -05:00
nonce text,
expire timestamp with time zone,
CONSTRAINT nonces_id_key UNIQUE (nonce)
);
GRANT ALL ON TABLE public.nonces TO kemal;
-- Index: public.nonces_nonce_idx
-- DROP INDEX public.nonces_nonce_idx;
CREATE INDEX nonces_nonce_idx
ON public.nonces
USING btree
(nonce COLLATE pg_catalog."default");