Move general purpose migration to MigratableStorage

This commit is contained in:
Shivam
2020-07-01 22:57:16 +02:00
parent 0cddb85f1b
commit c3cd2a74f5
4 changed files with 38 additions and 41 deletions

View File

@ -370,7 +370,7 @@ namespace osu.Game
public void Migrate(string path)
{
contextFactory.FlushConnections();
(Storage as OsuStorage)?.Migrate(path);
(Storage as OsuStorage)?.Migrate(Host.GetStorage(path));
}
}
}