1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-04 04:53:38 +08:00

Move collection database rather than deleting post-migration for safety

This commit is contained in:
Dean Herbert
2022-07-31 00:54:00 +09:00
Unverified
parent 8e06d55960
commit 80ffa2cf20
+1 -1
View File
@@ -802,8 +802,8 @@ namespace osu.Game.Database
if (legacyCollectionImporter.GetAvailableCount(storage).GetResultSafely() > 0)
{
storage.Delete("collection.db");
legacyCollectionImporter.ImportFromStorage(storage).WaitSafely();
storage.Move("collection.db", "collection.db.migrated");
}
}
catch (Exception e)