1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Update migrations

This commit is contained in:
iiSaLMaN 2019-07-08 10:44:23 +03:00
parent 129899f419
commit 574d9a51b3
3 changed files with 7 additions and 7 deletions

View File

@ -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");

View File

@ -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",

View File

@ -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");