feat(FN-2909): merge fusion/fn-2909

This commit is contained in:
Fusion
2026-04-28 20:01:13 -07:00
committed by gsxdsm
parent 88a148d7dd
commit 0684a18a6f
19 changed files with 569 additions and 41 deletions

View File

@@ -86,7 +86,7 @@ export function probeFts5(db: DatabaseSync): boolean {
// ── Schema Definition ────────────────────────────────────────────────
const SCHEMA_VERSION = 50;
const SCHEMA_VERSION = 51;
function normalizeTaskComments(
steeringComments: SteeringComment[] | undefined,
@@ -1941,6 +1941,14 @@ export class Database {
});
}
if (version < 51) {
this.applyMigration(51, () => {
if (this.hasTable("chat_messages")) {
this.addColumnIfMissing("chat_messages", "attachments", "TEXT");
}
});
}
}
/**