Backup collections alongside main databases when migrating to realm

This commit is contained in:
Dean Herbert
2022-01-19 16:31:27 +09:00
parent aa93042aa3
commit fad66d7682
2 changed files with 10 additions and 2 deletions

View File

@ -195,7 +195,7 @@ namespace osu.Game
// A non-null context factory means there's still content to migrate.
if (efContextFactory != null)
new EFToRealmMigrator(efContextFactory, realmFactory, LocalConfig).Run();
new EFToRealmMigrator(efContextFactory, realmFactory, LocalConfig, Storage).Run();
dependencies.CacheAs(Storage);