mirror of
https://github.com/ppy/osu
synced 2024-12-26 17:02:59 +00:00
Update migrations in line with hash change
This commit is contained in:
parent
66e43e6ed9
commit
00c5ea28c7
@ -9,7 +9,7 @@ using osu.Game.Database;
|
|||||||
namespace osu.Game.Migrations
|
namespace osu.Game.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(OsuDbContext))]
|
[DbContext(typeof(OsuDbContext))]
|
||||||
[Migration("20181130071705_AddScoreInfoTables")]
|
[Migration("20181130084152_AddScoreInfoTables")]
|
||||||
partial class AddScoreInfoTables
|
partial class AddScoreInfoTables
|
||||||
{
|
{
|
||||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||||
@ -319,9 +319,9 @@ namespace osu.Game.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("DeletePending");
|
b.Property<bool>("DeletePending");
|
||||||
|
|
||||||
b.Property<double>("Health");
|
b.Property<string>("Hash");
|
||||||
|
|
||||||
b.Property<string>("MD5Hash");
|
b.Property<double>("Health");
|
||||||
|
|
||||||
b.Property<int>("MaxCombo");
|
b.Property<int>("MaxCombo");
|
||||||
|
|
||||||
@ -386,10 +386,17 @@ namespace osu.Game.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("DeletePending");
|
b.Property<bool>("DeletePending");
|
||||||
|
|
||||||
|
b.Property<string>("Hash");
|
||||||
|
|
||||||
b.Property<string>("Name");
|
b.Property<string>("Name");
|
||||||
|
|
||||||
b.HasKey("ID");
|
b.HasKey("ID");
|
||||||
|
|
||||||
|
b.HasIndex("DeletePending");
|
||||||
|
|
||||||
|
b.HasIndex("Hash")
|
||||||
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("SkinInfo");
|
b.ToTable("SkinInfo");
|
||||||
});
|
});
|
||||||
|
|
@ -27,7 +27,7 @@ namespace osu.Game.Migrations
|
|||||||
OnlineScoreID = table.Column<long>(nullable: true),
|
OnlineScoreID = table.Column<long>(nullable: true),
|
||||||
Date = table.Column<DateTimeOffset>(nullable: false),
|
Date = table.Column<DateTimeOffset>(nullable: false),
|
||||||
Statistics = table.Column<string>(nullable: true),
|
Statistics = table.Column<string>(nullable: true),
|
||||||
MD5Hash = table.Column<string>(nullable: true),
|
Hash = table.Column<string>(nullable: true),
|
||||||
DeletePending = table.Column<bool>(nullable: false)
|
DeletePending = table.Column<bool>(nullable: false)
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
@ -317,9 +317,9 @@ namespace osu.Game.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("DeletePending");
|
b.Property<bool>("DeletePending");
|
||||||
|
|
||||||
b.Property<double>("Health");
|
b.Property<string>("Hash");
|
||||||
|
|
||||||
b.Property<string>("MD5Hash");
|
b.Property<double>("Health");
|
||||||
|
|
||||||
b.Property<int>("MaxCombo");
|
b.Property<int>("MaxCombo");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user