fix(core): bump SCHEMA_VERSION to 48 so v48 migration actually runs

migrate() short-circuits via 'if (version >= SCHEMA_VERSION) return',
so my prior commit's v48 block (adding tasks.verificationFailureCount)
never executed against existing v47 databases. App startup then failed
with 'no such column: verificationFailureCount' on first task SELECT.

Bumping the constant to 48 lets the migration body run on next init.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-26 21:14:53 -07:00
parent 53decd1bd2
commit 245a79353d

View File

@@ -86,7 +86,7 @@ export function probeFts5(db: DatabaseSync): boolean {
// ── Schema Definition ────────────────────────────────────────────────
const SCHEMA_VERSION = 47;
const SCHEMA_VERSION = 48;
function normalizeTaskComments(
steeringComments: SteeringComment[] | undefined,