mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
22 lines
402 B
SQL
22 lines
402 B
SQL
-- Table: public.nonces
|
|
|
|
-- DROP TABLE public.nonces;
|
|
|
|
CREATE TABLE public.nonces
|
|
(
|
|
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");
|
|
|