feat: prototyping possible interaction of database, controllers, services with auth service

This commit is contained in:
2025-06-20 13:33:06 +03:00
parent 87878f15a3
commit 654c1eb7b5
5 changed files with 73 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ WHERE users.username = $1;
--: Login Information Object {{{
;-- name: CreateLoginInformation :one
;-- name: CreateLoginInformation :on
INSERT INTO login_informations(user_id, email, password_hash)
VALUES ( $1, $2, crypt(@password::text, gen_salt('bf')) ) RETURNING *;