fix
This commit is contained in:
parent
8371121130
commit
8deba7afd9
4 changed files with 28 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
|||
-- name: GetImageByID :one
|
||||
SELECT id, storage_type, image_path
|
||||
FROM images
|
||||
WHERE id = sqlc.arg('illust_id');
|
||||
WHERE id = sqlc.arg('illust_id')::bigint;
|
||||
|
||||
-- name: CreateImage :one
|
||||
INSERT INTO images (storage_type, image_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue