mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-01-05 19:21:23 -06:00
Allow setting user for resource operations
This commit is contained in:
@@ -8,5 +8,8 @@ INSERT INTO users(
|
||||
-- name: UserByUsername :one
|
||||
SELECT * from users WHERE username = $1;
|
||||
|
||||
-- name: UserByID :one
|
||||
SELECT * from users WHERE id = $1;
|
||||
|
||||
-- name: ListUsers :many
|
||||
SELECT * from users WHERE deleted IS NULL;
|
||||
Reference in New Issue
Block a user