mirror of
https://github.com/ppy/osu
synced 2024-12-26 00:32:52 +00:00
Update migrations
This commit is contained in:
parent
129899f419
commit
574d9a51b3
@ -9,7 +9,7 @@ using osu.Game.Database;
|
||||
namespace osu.Game.Migrations
|
||||
{
|
||||
[DbContext(typeof(OsuDbContext))]
|
||||
[Migration("20190707172237_AddBPMAndLengthColumns")]
|
||||
[Migration("20190708070844_AddBPMAndLengthColumns")]
|
||||
partial class AddBPMAndLengthColumns
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@ -47,6 +47,8 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<int>("AudioLeadIn");
|
||||
|
||||
b.Property<double>("BPM");
|
||||
|
||||
b.Property<int>("BaseDifficultyID");
|
||||
|
||||
b.Property<int>("BeatDivisor");
|
||||
@ -170,8 +172,6 @@ namespace osu.Game.Migrations
|
||||
b.Property<int>("ID")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<double>("BPM");
|
||||
|
||||
b.Property<DateTimeOffset>("DateAdded");
|
||||
|
||||
b.Property<bool>("DeletePending");
|
@ -8,7 +8,7 @@ namespace osu.Game.Migrations
|
||||
{
|
||||
migrationBuilder.AddColumn<double>(
|
||||
name: "BPM",
|
||||
table: "BeatmapSetInfo",
|
||||
table: "BeatmapInfo",
|
||||
nullable: false,
|
||||
defaultValue: 0.0);
|
||||
|
||||
@ -23,7 +23,7 @@ namespace osu.Game.Migrations
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "BPM",
|
||||
table: "BeatmapSetInfo");
|
||||
table: "BeatmapInfo");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Length",
|
@ -45,6 +45,8 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<int>("AudioLeadIn");
|
||||
|
||||
b.Property<double>("BPM");
|
||||
|
||||
b.Property<int>("BaseDifficultyID");
|
||||
|
||||
b.Property<int>("BeatDivisor");
|
||||
@ -168,8 +170,6 @@ namespace osu.Game.Migrations
|
||||
b.Property<int>("ID")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<double>("BPM");
|
||||
|
||||
b.Property<DateTimeOffset>("DateAdded");
|
||||
|
||||
b.Property<bool>("DeletePending");
|
||||
|
Loading…
Reference in New Issue
Block a user