Function: readDatabaseSchemaVersionFromFile()
function readDatabaseSchemaVersionFromFile(filePath: string): number;
Defined in: electron/services/database/utils/backup/databaseBackup.ts:107
Reads the SQLite PRAGMA user_version from a database file.
Parameters
filePath
string
Returns
number
Remarks
Used when validating/annotating externally-provided backup payloads, where the schema version may differ from the currently running app.