Started a repository of the uploads

This commit is contained in:
Leon Mika 2026-03-02 21:10:09 +11:00
parent 6b697e008f
commit 0a9af9cde8
11 changed files with 101 additions and 15 deletions

View file

@ -11,4 +11,7 @@ INSERT INTO pending_uploads (
mime_type,
upload_started_at
) VALUES (?, ?, ?, ?, ?, ?, ?)
RETURNING id;
RETURNING id;
-- name: DeletePendingUpload :exec
DELETE FROM pending_uploads WHERE guid = ?;