feat(FN-2909): merge fusion/fn-2909
This commit is contained in:
@@ -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");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user