Files
MermsCoreFlask/SQL/sql_live.sql
T
CHIEFSOFT\ameye 5de1c67ef7 new data
2025-08-17 07:08:54 -04:00

13 lines
363 B
SQL

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);