fix
All checks were successful
Build and Deploy Go App / build (push) Successful in 17m41s
Build and Deploy Go App / deploy (push) Successful in 3m34s

This commit is contained in:
Iron_Felix 2025-11-18 04:19:34 +03:00
parent 8371121130
commit 8deba7afd9
4 changed files with 28 additions and 7 deletions

View file

@ -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)