chore: add migration 005_add_doc_type.sql
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 27s
CI / test-go-edu-search (push) Successful in 27s
CI / test-python-klausur (push) Failing after 1m54s
CI / test-python-agent-core (push) Successful in 16s
CI / test-nodejs-website (push) Successful in 18s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-04 13:54:56 +01:00
parent 29c74a9962
commit 16dc77e5c2

View File

@@ -0,0 +1,7 @@
-- Migration 005: Add document type detection columns
-- These columns store the result of automatic document type detection
-- (vocab_table, full_text, generic_table) after dewarp.
ALTER TABLE ocr_pipeline_sessions
ADD COLUMN IF NOT EXISTS doc_type VARCHAR(50),
ADD COLUMN IF NOT EXISTS doc_type_result JSONB;