mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-02 10:09:58 -05:00
Make room for client code
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
-- name: CreateUser :one
|
||||
INSERT INTO users(
|
||||
username, display_name, password_hash
|
||||
) VALUES (
|
||||
$1, $2, $3
|
||||
)
|
||||
RETURNING *;
|
||||
|
||||
-- name: UserByUsername :one
|
||||
SELECT * from users WHERE username = $1;
|
||||
|
||||
-- name: ListUsers :many
|
||||
SELECT * from users WHERE deleted IS NULL;
|
||||
Reference in New Issue
Block a user