fix(FN-1037): bump SCHEMA_VERSION from 9 to 10 so migration runs

- Increment SCHEMA_VERSION constant from 9 to 10 in packages/core/src/db.ts
- Ensures the auto-migration system detects the schema change and runs the new migration
- Matches migration logic that checks version delta against SCHEMA_VERSION
This commit is contained in:
gsxdsm
2026-04-06 20:27:15 -07:00
parent 2e902a1ffe
commit ddf7714ed7

View File

@@ -59,7 +59,7 @@ export function fromJson<T>(json: string | null | undefined): T | undefined {
// ── Schema Definition ────────────────────────────────────────────────
const SCHEMA_VERSION = 9;
const SCHEMA_VERSION = 10;
function normalizeTaskComments(
steeringComments: SteeringComment[] | undefined,
@@ -449,7 +449,7 @@ export class Database {
}
// Future migrations go here:
// if (version < 10) { this.applyMigration(10, () => { ... }); }
// if (version < 11) { this.applyMigration(11, () => { ... }); }
if (version < 10) {
this.applyMigration(10, () => {