Added login and updated register function

This commit is contained in:
2025-02-06 12:04:07 +01:00
parent 36c785e8f2
commit 35527cbeb7
8 changed files with 58 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
CREATE TABLE "users" (
user_id uuid NOT NULL PRIMARY KEY,
email text UNIQUE,
email text NOT NULL UNIQUE,
password text NOT NULL,
admin boolean NOT NULL
);