diff --git a/sqlc/query.sql b/sqlc/query.sql index 4ceb2e2..87fb266 100644 --- a/sqlc/query.sql +++ b/sqlc/query.sql @@ -74,7 +74,7 @@ WHERE users.username = $1; --: Login Information Object {{{ -;-- name: CreateLoginInformation :on +;-- name: CreateLoginInformation :one INSERT INTO login_informations(user_id, email, password_hash) VALUES ( $1, $2, crypt(@password::text, gen_salt('bf')) ) RETURNING *;