The migration file 0001_cynical_ultimatum.sql existed on disk but was not registered in the Drizzle journal (_journal.json). This caused fresh-database migrations (CI) to skip creating tables (agent_logs, insights, preferences, skills, summarization_jobs), then 0002_nebulous_mimic.sql would fail trying to ALTER the non-existent preferences table. Fix: insert cynical_ultimatum at idx 1 in the journal and shift all subsequent entries (idx 2-7). Verified: pnpm test passes (347 tests, 35 tasks).
1.2 KiB
1.2 KiB