mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +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:
parent
d48fae1100
commit
1a14ccc7ee
@ -133,6 +133,8 @@ namespace osu.Game.Database
|
||||
r.RemoveAll<ScoreInfo>();
|
||||
});
|
||||
|
||||
ef.Migrate();
|
||||
|
||||
migrateSettings(ef);
|
||||
migrateSkins(ef);
|
||||
migrateBeatmaps(ef);
|
||||
|
Loading…
Reference in New Issue
Block a user