Files
go-http-server/sql/queries/UpdateUserEmailAndPassword.sql
2025-03-11 22:57:39 +02:00

3 lines
149 B
SQL

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