diff --git a/osu.Game/Database/EFToRealmMigrator.cs b/osu.Game/Database/EFToRealmMigrator.cs index fc75f73e4d..1a8b312c6c 100644 --- a/osu.Game/Database/EFToRealmMigrator.cs +++ b/osu.Game/Database/EFToRealmMigrator.cs @@ -148,8 +148,6 @@ namespace osu.Game.Database } Logger.Log($"Successfully migrated {count} beatmaps to realm", LoggingTarget.Database); - ef.Context.RemoveRange(existingBeatmapSets); - // Intentionally don't clean up the files, so they don't get purged by EF. } } @@ -253,8 +251,6 @@ namespace osu.Game.Database } Logger.Log($"Successfully migrated {count} scores to realm", LoggingTarget.Database); - db.Context.RemoveRange(existingScores); - // Intentionally don't clean up the files, so they don't get purged by EF. } } @@ -313,9 +309,6 @@ namespace osu.Game.Database } } - db.Context.RemoveRange(existingSkins); - // Intentionally don't clean up the files, so they don't get purged by EF. - transaction.Commit(); } } @@ -372,8 +365,6 @@ namespace osu.Game.Database } } - db.Context.RemoveRange(existingSettings); - transaction.Commit(); } }