Updated sqlc setup for initial user creation.

This commit is contained in:
2026-04-25 19:37:17 +02:00
parent a8862721cd
commit 8ec981c860
5 changed files with 82 additions and 37 deletions
+4 -3
View File
@@ -1,6 +1,7 @@
CREATE TABLE users (
id BIGSERIAL PRIMARY KEY,
name text NOT NULL,
age int NOT NULL
id BIGSERIAL PRIMARY KEY,
email TEXT NOT NULL UNIQUE,
password TEXT NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);