diff --git a/SQL/sql_live.sql b/SQL/sql_live.sql new file mode 100644 index 0000000..67a519b --- /dev/null +++ b/SQL/sql_live.sql @@ -0,0 +1,13 @@ +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); \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 5f666a4..8690c0f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -44,3 +44,5 @@ Flask-Mail pycountry stripe + +requests \ No newline at end of file