mirror of
https://github.com/ppy/osu
synced 2025-02-18 19:36:58 +00:00
Re-migrate
This commit is contained in:
parent
3727955911
commit
58293c3eae
@ -9,7 +9,7 @@ using osu.Game.Database;
|
||||
namespace osu.Game.Migrations
|
||||
{
|
||||
[DbContext(typeof(OsuDbContext))]
|
||||
[Migration("20181130052804_AddScoreInfoTables")]
|
||||
[Migration("20181130071705_AddScoreInfoTables")]
|
||||
partial class AddScoreInfoTables
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@ -325,7 +325,8 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<int>("MaxCombo");
|
||||
|
||||
b.Property<string>("ModsString");
|
||||
b.Property<string>("ModsJson")
|
||||
.HasColumnName("Mods");
|
||||
|
||||
b.Property<long?>("OnlineScoreID");
|
||||
|
||||
@ -335,11 +336,13 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<int>("RulesetID");
|
||||
|
||||
b.Property<string>("StatisticsString");
|
||||
b.Property<string>("StatisticsJson")
|
||||
.HasColumnName("Statistics");
|
||||
|
||||
b.Property<double>("TotalScore");
|
||||
|
||||
b.Property<string>("UserString");
|
||||
b.Property<string>("UserString")
|
||||
.HasColumnName("User");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
@ -446,7 +449,7 @@ namespace osu.Game.Migrations
|
||||
|
||||
modelBuilder.Entity("osu.Game.Scoring.ScoreInfo", b =>
|
||||
{
|
||||
b.HasOne("osu.Game.Beatmaps.BeatmapInfo", "BeatmapInfo")
|
||||
b.HasOne("osu.Game.Beatmaps.BeatmapInfo", "Beatmap")
|
||||
.WithMany()
|
||||
.HasForeignKey("BeatmapInfoID")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
@ -21,12 +21,12 @@ namespace osu.Game.Migrations
|
||||
MaxCombo = table.Column<int>(nullable: false),
|
||||
Combo = table.Column<int>(nullable: false),
|
||||
RulesetID = table.Column<int>(nullable: false),
|
||||
ModsString = table.Column<string>(nullable: true),
|
||||
UserString = table.Column<string>(nullable: true),
|
||||
Mods = table.Column<string>(nullable: true),
|
||||
User = table.Column<string>(nullable: true),
|
||||
BeatmapInfoID = table.Column<int>(nullable: false),
|
||||
OnlineScoreID = table.Column<long>(nullable: true),
|
||||
Date = table.Column<DateTimeOffset>(nullable: false),
|
||||
StatisticsString = table.Column<string>(nullable: true),
|
||||
Statistics = table.Column<string>(nullable: true),
|
||||
MD5Hash = table.Column<string>(nullable: true),
|
||||
DeletePending = table.Column<bool>(nullable: false)
|
||||
},
|
@ -323,7 +323,8 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<int>("MaxCombo");
|
||||
|
||||
b.Property<string>("ModsString");
|
||||
b.Property<string>("ModsJson")
|
||||
.HasColumnName("Mods");
|
||||
|
||||
b.Property<long?>("OnlineScoreID");
|
||||
|
||||
@ -333,11 +334,13 @@ namespace osu.Game.Migrations
|
||||
|
||||
b.Property<int>("RulesetID");
|
||||
|
||||
b.Property<string>("StatisticsString");
|
||||
b.Property<string>("StatisticsJson")
|
||||
.HasColumnName("Statistics");
|
||||
|
||||
b.Property<double>("TotalScore");
|
||||
|
||||
b.Property<string>("UserString");
|
||||
b.Property<string>("UserString")
|
||||
.HasColumnName("User");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
@ -444,7 +447,7 @@ namespace osu.Game.Migrations
|
||||
|
||||
modelBuilder.Entity("osu.Game.Scoring.ScoreInfo", b =>
|
||||
{
|
||||
b.HasOne("osu.Game.Beatmaps.BeatmapInfo", "BeatmapInfo")
|
||||
b.HasOne("osu.Game.Beatmaps.BeatmapInfo", "Beatmap")
|
||||
.WithMany()
|
||||
.HasForeignKey("BeatmapInfoID")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
Loading…
Reference in New Issue
Block a user