-- Your SQL goes here CREATE TABLE public.reset ( "user" integer NOT NULL, token text NOT NULL, sent timestamp without time zone NOT NULL DEFAULT now()::timestamp, PRIMARY KEY ("user"), UNIQUE (token), FOREIGN KEY ("user") REFERENCES public."user" (id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE NOT VALID );