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

17 lines
484 B
MySQL
Raw Normal View History

2024-03-25 17:43:13 +01:00
-- 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(),
2024-03-25 17:43:13 +01:00
CONSTRAINT "RequestResetPassword_pkey" PRIMARY KEY (id)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."RequestResetPassword"
OWNER to postgres;