Store KeyBinding action to its own field in realm

Also improve the Query method for action types by using generic field
This commit is contained in:
Dean Herbert
2021-01-07 16:53:36 +09:00
parent 43f417b53a
commit a77519c6bd
5 changed files with 22 additions and 12 deletions

View File

@ -163,7 +163,7 @@ namespace osu.Game.Database
contexts.Value++;
return Realm.GetInstance(new RealmConfiguration(storage.GetFullPath($"{database_name}.realm", true))
{
SchemaVersion = 2,
SchemaVersion = 3,
MigrationCallback = onMigration
});
}