fix(db): add missing 0001_cynical_ultimatum to Drizzle migration journal
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).
This commit is contained in:
@@ -12,44 +12,51 @@
|
||||
{
|
||||
"idx": 1,
|
||||
"version": "7",
|
||||
"when": 1773602195608,
|
||||
"tag": "0001_cynical_ultimatum",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 2,
|
||||
"version": "7",
|
||||
"when": 1773602195609,
|
||||
"tag": "0001_magical_rattler",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 2,
|
||||
"idx": 3,
|
||||
"version": "7",
|
||||
"when": 1773625181629,
|
||||
"tag": "0002_nebulous_mimic",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 3,
|
||||
"idx": 4,
|
||||
"version": "7",
|
||||
"when": 1773887085247,
|
||||
"tag": "0003_p8003_perf_indexes",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 4,
|
||||
"idx": 5,
|
||||
"version": "7",
|
||||
"when": 1774224004898,
|
||||
"tag": "0004_bumpy_miracleman",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 5,
|
||||
"idx": 6,
|
||||
"version": "7",
|
||||
"when": 1774225763410,
|
||||
"tag": "0005_minor_champions",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 6,
|
||||
"idx": 7,
|
||||
"version": "7",
|
||||
"when": 1774227064500,
|
||||
"tag": "0006_swift_shen",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user