don't use session
This commit is contained in:
@@ -87,15 +87,6 @@ SET
|
||||
,salt = ?
|
||||
WHERE id = ?;
|
||||
|
||||
-- name: CreateNewSession :exec
|
||||
INSERT INTO user_sessions (id, user_id, created_at) VALUES (?, ?, ?);
|
||||
|
||||
-- name: DeleteSession :exec
|
||||
DELETE FROM user_sessions WHERE id = ?;
|
||||
|
||||
-- name: GetSession :one
|
||||
SELECT id, user_id, created_at FROM user_sessions WHERE user_id = ?;
|
||||
|
||||
-- name: GetUserRenew :many
|
||||
SELECT
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user