From a842c650d8a08eefbc0a633aed46b0fd17bf2758 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Wed, 15 Apr 2026 15:10:01 +0900 Subject: [PATCH] =?UTF-8?q?fix(migration):=20asyncpg=20=EB=8B=A4=EC=A4=91?= =?UTF-8?q?=20statement=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit asyncpg는 prepared statement에 다중 SQL 불가. COMMENT 제거하고 ALTER TABLE만 유지. Co-Authored-By: Claude Opus 4.6 (1M context) --- migrations/134_extract_meta.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/migrations/134_extract_meta.sql b/migrations/134_extract_meta.sql index e53f21c..81f032a 100644 --- a/migrations/134_extract_meta.sql +++ b/migrations/134_extract_meta.sql @@ -1,2 +1 @@ -ALTER TABLE documents ADD COLUMN IF NOT EXISTS extract_meta JSONB DEFAULT '{}'; -COMMENT ON COLUMN documents.extract_meta IS 'OCR 판정/실행 메타데이터: ocr_attempted, ocr_reason, ocr_skip_reason, ocr_chars, pymupdf_chars, ocr_terminal'; +ALTER TABLE documents ADD COLUMN IF NOT EXISTS extract_meta JSONB DEFAULT '{}'