blink/backend/sql/10-create_request_reset_pas...

17 lines
484 B
SQL

-- Table: public.RequestResetPassword
-- DROP TABLE IF EXISTS public."RequestResetPassword";
CREATE TABLE IF NOT EXISTS public."RequestResetPassword"
(
id serial,
email character varying(128) NOT NULL,
secret character varying NOT NULL,
time_of_request timestamp without time zone NOT NULL DEFAULT now(),
CONSTRAINT "RequestResetPassword_pkey" PRIMARY KEY (id)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."RequestResetPassword"
OWNER to postgres;