Database: Set current version to latest version after creating new DB

parent 614baa2d
Pipeline #25612 passed with stages
in 19 minutes and 43 seconds
......@@ -199,6 +199,8 @@ void Database::createNewDatabase()
createDbInfoTable();
createRosterTable();
createMessagesTable();
m_version = DATABASE_LATEST_VERSION;
}
void Database::createDbInfoTable()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment