mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 16:07:25 +08:00
34 lines
946 B
C#
34 lines
946 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
namespace osu.Game.Migrations
|
|||
|
{
|
|||
|
public partial class AddRankStatus : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "Status",
|
|||
|
table: "BeatmapSetInfo",
|
|||
|
nullable: false,
|
|||
|
defaultValue: -3); // NONE
|
|||
|
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "Status",
|
|||
|
table: "BeatmapInfo",
|
|||
|
nullable: false,
|
|||
|
defaultValue: -3); // NONE
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "Status",
|
|||
|
table: "BeatmapSetInfo");
|
|||
|
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "Status",
|
|||
|
table: "BeatmapInfo");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|