30 lines
775 B
C#
30 lines
775 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace TaikoLocalServer.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddClearState : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<uint>(
|
|
name: "ClearState",
|
|
table: "DanScoreData",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: 0u);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "ClearState",
|
|
table: "DanScoreData");
|
|
}
|
|
}
|
|
}
|