mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-04 19:30:24 -05:00
Create internal/app package for easy access to globals
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
-- name: CreateUser :one
|
||||
-- name: CreateUser :exec
|
||||
INSERT INTO users(
|
||||
username, display_name, password_hash
|
||||
) VALUES (
|
||||
$1, $2, $3
|
||||
)
|
||||
RETURNING *;
|
||||
);
|
||||
|
||||
-- name: UserByUsername :one
|
||||
SELECT * from users WHERE username = $1;
|
||||
|
||||
Reference in New Issue
Block a user