diff --git a/scripts/verify_upload_size.py b/scripts/verify_upload_size.py index 86d1dff..bc6550d 100644 --- a/scripts/verify_upload_size.py +++ b/scripts/verify_upload_size.py @@ -76,7 +76,7 @@ async def _pre_cleanup(session_factory, inbox: Path) -> int: for doc_id, file_path in rows: _unlink_by_relpath(file_path, inbox) await s.execute( - text("DELETE FROM processing_queue WHERE doc_id = :id"), + text("DELETE FROM processing_queue WHERE document_id = :id"), {"id": doc_id}, ) await s.execute( @@ -117,7 +117,7 @@ async def _case_cleanup( for doc_id, file_path in rows: _unlink_by_relpath(file_path, inbox) await s.execute( - text("DELETE FROM processing_queue WHERE doc_id = :id"), + text("DELETE FROM processing_queue WHERE document_id = :id"), {"id": doc_id}, ) await s.execute(