feat: next

This commit is contained in:
2025-05-12 11:30:33 -04:00
parent cdeaa13d92
commit 07cec78aa5
36 changed files with 1553 additions and 327 deletions

View File

@ -3,7 +3,8 @@ SELECT
id,
username,
password,
profile_picture_id
profile_picture_id,
webauthn_id
FROM user
WHERE
id = @id
@ -14,7 +15,8 @@ SELECT
id,
username,
password,
profile_picture_id
profile_picture_id,
webauthn_id
FROM user
WHERE
username = @username
@ -23,10 +25,12 @@ LIMIT 1;
-- name: InsertUser :one
INSERT INTO user (
username,
password
password,
webauthn_id
) VALUES (
@username,
@password
@password,
@webauthn_id
)
RETURNING id;