|
|
|
@ -196,7 +196,8 @@ void dbSchemaUpgrade(std::shared_ptr<RawDatabase>& db)
@@ -196,7 +196,8 @@ void dbSchemaUpgrade(std::shared_ptr<RawDatabase>& db)
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (databaseSchemaVersion > SCHEMA_VERSION) { |
|
|
|
|
qWarning() << "Database version is newer than we currently support. Please upgrade qTox"; |
|
|
|
|
qWarning().nospace() << "Database version (" << databaseSchemaVersion << |
|
|
|
|
") is newer than we currently support (" << SCHEMA_VERSION << "). Please upgrade qTox"; |
|
|
|
|
// We don't know what future versions have done, we have to disable db access until we re-upgrade
|
|
|
|
|
db.reset(); |
|
|
|
|
return; |
|
|
|
|