Add user model

This commit is contained in:
2024-08-07 00:15:41 -04:00
parent 1fcbac610f
commit fef066b449
4 changed files with 244 additions and 1 deletions

5
models/sql/users.sql Normal file
View File

@@ -0,0 +1,5 @@
CREATE TABLE users (
id SERIAL PRIMARY KEY,
email TEXT UNIQUE NOT NULL,
password_hash TEXT NOT NULL
);