mirror of
https://github.com/ppy/osu
synced 2025-02-26 23:51:04 +00:00
Fix incorrect migration conditional
This commit is contained in:
parent
ac7ee59d50
commit
4212a9d0d7
@ -8,7 +8,7 @@ namespace osu.Game.Migrations
|
||||
{
|
||||
// There was a change that baetmaps were being loaded with "-1" online IDs, which is completely incorrect.
|
||||
// This ensures there will not be unique key conflicts as a result of these incorrectly imported beatmaps.
|
||||
migrationBuilder.Sql("UPDATE BeatmapSetInfo SET OnlineBeatmapSetID = null WHERE OnlineBeatmapSetID < 0");
|
||||
migrationBuilder.Sql("UPDATE BeatmapSetInfo SET OnlineBeatmapSetID = null WHERE OnlineBeatmapSetID <= 0");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
|
Loading…
Reference in New Issue
Block a user