User backend registration

This commit is contained in:
Leons Aleksandrovs
2025-07-05 22:17:14 +03:00
parent 8916f3e394
commit 66ed77e758
6 changed files with 100 additions and 13 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
-- Create users table if it doesn't exist
CREATE TABLE IF NOT EXISTS users (
id INT PRIMARY KEY,
id SERIAL PRIMARY KEY,
email TEXT NOT NULL UNIQUE,
name TEXT NOT NULL,
password TEXT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);