UPDATE: Change auth logic
All checks were successful
Build and Release / release (push) Successful in 1m27s

This commit is contained in:
2026-04-09 09:32:34 +07:00
parent a7400f832e
commit 7559667ce2
20 changed files with 448 additions and 20 deletions

View File

@@ -10,6 +10,10 @@ RETURNING *;
DELETE FROM medias
WHERE id = $1;
-- name: DeleteMedias :exec
DELETE FROM medias
WHERE id = ANY($1::uuid[]);
-- name: SearchMedias :many
SELECT
id, user_id, storage_key, original_name, mime_type, size, file_metadata, created_at, updated_at