Update self profile
This commit is contained in:
3
sql/queries/UpdateUserEmailAndPassword.sql
Normal file
3
sql/queries/UpdateUserEmailAndPassword.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
-- name: UpdateUserEmailAndPassword :one
|
||||
UPDATE users SET email = $1, hashed_password = $2, updated_at = CURRENT_TIMESTAMP WHERE id = $3
|
||||
RETURNING *;
|
||||
Reference in New Issue
Block a user