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