Fixed regression that prevent new installs to work. fixes #385

This commit is contained in:
emeric
2023-12-01 08:53:50 +01:00
parent 6b5e53de1d
commit 4bf0cdf580
2 changed files with 16 additions and 0 deletions
+6
View File
@@ -171,6 +171,12 @@ namespace Database
_session.execute("CREATE INDEX IF NOT EXISTS starred_track_user_backend_idx ON starred_track(user_id,backend)");
_session.execute("CREATE INDEX IF NOT EXISTS starred_track_track_user_backend_idx ON starred_track(track_id,user_id,backend)");
}
// Singletons
{
auto uniqueTransaction{ createWriteTransaction() };
ScanSettings::init(*this);
}
}
void Session::analyze()