31 QString upgradeSchemaVal);
44 const QString &appName,
45 const QString &upgradeSchemaVal);
53 int minDBMSpoint = 0);
56 bool m_emptyDB {
false};
57 int m_versionsBehind {-1};
62 void BusyPopup(
const QString &message);
64 bool upgradable,
bool expert);
66 bool m_autoUpgrade {
false};
69 bool m_expertMode {
false};
Aggregates database and DBMS utility functions.
static MythDBBackupStatus BackupDB(QString &filename, bool disableRotation=false)
Requests a backup of the database.
Provides UI and helper functions for DB Schema updates.
QString m_schemaName
Shown to user in logs.
QString m_newSchemaVer
What we need to upgrade to.
QString m_schemaSetting
To lookup the schema version.
QString m_backupResult
File path, or FAILED
QString m_DBver
Schema version in the database.
MythSchemaUpgrade
Return values from PromptForUpgrade()
@ MYTH_SCHEMA_USE_EXISTING