Add database-based configuration for rulesets

This commit is contained in:
Dean Herbert
2018-01-24 17:35:37 +09:00
parent b197cd56af
commit 5a00ae36d1
17 changed files with 624 additions and 28 deletions

View File

@ -193,6 +193,26 @@ namespace osu.Game.Migrations
b.ToTable("BeatmapSetInfo");
});
modelBuilder.Entity("osu.Game.Configuration.DatabasedSetting", b =>
{
b.Property<int>("ID")
.ValueGeneratedOnAdd();
b.Property<int>("IntKey")
.HasColumnName("Key");
b.Property<int>("IntValue")
.HasColumnName("Value");
b.Property<int?>("RulesetID");
b.HasKey("ID");
b.HasIndex("RulesetID");
b.ToTable("Settings");
});
modelBuilder.Entity("osu.Game.Input.Bindings.DatabasedKeyBinding", b =>
{
b.Property<int>("ID")
@ -212,7 +232,7 @@ namespace osu.Game.Migrations
b.HasIndex("IntAction");
b.HasIndex("Variant");
b.HasIndex("RulesetID", "Variant");
b.ToTable("KeyBinding");
});