Commit Graph

2 Commits

Author SHA1 Message Date
Motoko
71e5e3570f fix migration: remove notnull validation that fails with DEFAULT NULL
SQLite PRAGMA table_info returns notnull=1 for columns with DEFAULT,
even when they are nullable. Now only checks column existence.
2026-03-30 23:24:12 +00:00
Motoko
38e1237fbc feat: add Phase 2 migration script for documents table
Adds columns: reasoning_type, confidence, reasoning_steps, model_source, tiptap_content

- Skips columns if they already exist (idempotent)
- Includes post-migration validation
- Documents SQLite-compatible rollback procedure
2026-03-30 23:19:34 +00:00