SELECT uuid_generate_v4();


CREATE TABLE password_reset (
		id SERIAL,
		uid uuid DEFAULT  uuid_generate_v4(),
		username VARCHAR(35) NOT NULL ,
		status INT DEFAULT 0,
		added timestamp without time zone DEFAULT now(),
		updated timestamp without time zone DEFAULT now()
	);
 ALTER TABLE ONLY password_reset
    ADD CONSTRAINT password_reset_id_key UNIQUE (id);