feat: add support for new fields in user table

This commit is contained in:
2025-06-05 20:49:35 +02:00
parent e774f415d8
commit cb3a6ddc58
3 changed files with 21 additions and 11 deletions

View File

@ -3,9 +3,9 @@ SELECT * FROM users;
-- name: InsertUser :one
INSERT INTO users (
email, full_name, password_hash, is_admin
email, full_name, password_hash, is_admin, created_by
) VALUES (
$1, $2, $3, $4
$1, $2, $3, $4, $5
)
RETURNING id;