-- 028_DraftExtractionData.sql
-- Adds extraction_data column to store full AI extraction

ALTER TABLE journal_entry_draft_read_models
ADD COLUMN IF NOT EXISTS extraction_data JSONB;

COMMENT ON COLUMN journal_entry_draft_read_models.extraction_data IS
'Full AI extraction data: vendor, cvr, amounts, vat, due date, payment ref, line items';
