mirror of
https://github.com/ppy/osu.git
synced 2026-06-07 03:33:39 +08:00
Run EF migrations before migrating to realm
Turns out that there are more than zero users that are upgrading from old databases. I think we probably want to support this for now. Tested against database in https://github.com/ppy/osu/discussions/16700 and one other I had locally, both work correctly.
This commit is contained in:
@@ -133,6 +133,8 @@ namespace osu.Game.Database
|
||||
r.RemoveAll<ScoreInfo>();
|
||||
});
|
||||
|
||||
ef.Migrate();
|
||||
|
||||
migrateSettings(ef);
|
||||
migrateSkins(ef);
|
||||
migrateBeatmaps(ef);
|
||||
|
||||
Reference in New Issue
Block a user