2018-11-17 20:18:12 +01:00
|
|
|
-- Table: public.nonces
|
|
|
|
|
|
|
|
-- DROP TABLE public.nonces;
|
|
|
|
|
|
|
|
CREATE TABLE public.nonces
|
|
|
|
(
|
2018-11-20 01:41:11 +01:00
|
|
|
nonce text,
|
2019-02-11 17:59:17 +01:00
|
|
|
expire timestamp with time zone,
|
|
|
|
CONSTRAINT nonces_id_key UNIQUE (nonce)
|
2018-11-17 20:18:12 +01:00
|
|
|
);
|
|
|
|
|
2019-02-11 17:59:17 +01:00
|
|
|
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");
|
|
|
|
|