feat: add profile_picture field to user table

This commit is contained in:
2025-05-24 17:17:16 +02:00
parent b6d365cc48
commit 9b0de4512b
2 changed files with 16 additions and 0 deletions

View File

@ -14,3 +14,8 @@ SELECT * FROM users WHERE email = $1 LIMIT 1;
-- name: FindUserId :one
SELECT * FROM users WHERE id = $1 LIMIT 1;
-- name: UpdateProfilePicture :exec
UPDATE users
SET profile_picture = $1
WHERE id = $2;