mirror of
https://github.com/ppy/osu
synced 2024-12-26 08:53:10 +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
|
||||
{
|
||||
[DbContext(typeof(OsuDbContext))]
|
||||
[Migration("20181130071705_AddScoreInfoTables")]
|
||||
[Migration("20181130084152_AddScoreInfoTables")]
|
||||
partial class AddScoreInfoTables
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@ -319,9 +319,9 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<bool>("DeletePending");
|
||||
|
||||
b.Property<double>("Health");
|
||||
b.Property<string>("Hash");
|
||||
|
||||
b.Property<string>("MD5Hash");
|
||||
b.Property<double>("Health");
|
||||
|
||||
b.Property<int>("MaxCombo");
|
||||
|
||||
@ -386,10 +386,17 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<bool>("DeletePending");
|
||||
|
||||
b.Property<string>("Hash");
|
||||
|
||||
b.Property<string>("Name");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("DeletePending");
|
||||
|
||||
b.HasIndex("Hash")
|
||||
.IsUnique();
|
||||
|
||||
b.ToTable("SkinInfo");
|
||||
});
|
||||
|
@ -27,7 +27,7 @@ namespace osu.Game.Migrations
|
||||
OnlineScoreID = table.Column<long>(nullable: true),
|
||||
Date = table.Column<DateTimeOffset>(nullable: false),
|
||||
Statistics = table.Column<string>(nullable: true),
|
||||
MD5Hash = table.Column<string>(nullable: true),
|
||||
Hash = table.Column<string>(nullable: true),
|
||||
DeletePending = table.Column<bool>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
@ -317,9 +317,9 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<bool>("DeletePending");
|
||||
|
||||
b.Property<double>("Health");
|
||||
b.Property<string>("Hash");
|
||||
|
||||
b.Property<string>("MD5Hash");
|
||||
b.Property<double>("Health");
|
||||
|
||||
b.Property<int>("MaxCombo");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user