MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / needsMigration

Function needsMigration

apps/desktop/main/database/migrations.ts:108–111  ·  view source on GitHub ↗
(db: Database.Database)

Source from the content-addressed store, hash-verified

106}
107
108export function needsMigration(db: Database.Database): boolean {
109 const adapter = new BetterSqliteAdapter(db)
110 return coreNeedsMigration(adapter, CURRENT_SCHEMA_VERSION)
111}
112
113/**
114 * Get pending migration info for UI display (with i18n).

Callers 1

checkMigrationNeededFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected