feat: got sqlc to work

This commit is contained in:
2025-06-15 01:12:22 +03:00
parent db8b7c0372
commit 8eff3f2d74
7 changed files with 121 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
-- name: CreateUser :one
INSERT INTO user (username, verified, banned, registration_date) VALUES ($1, false, false, NOW()) RETURNING id, username, verified, banned, registration_date;
INSERT INTO users(username, verified, banned, registration_date) VALUES ($1, false, false, NOW()) RETURNING id, username, verified, banned, registration_date;