Update self profile

This commit is contained in:
2025-03-11 22:57:39 +02:00
parent 1bad21ae45
commit 704393e0e4
3 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
-- name: UpdateUserEmailAndPassword :one
UPDATE users SET email = $1, hashed_password = $2, updated_at = CURRENT_TIMESTAMP WHERE id = $3
RETURNING *;