SCHALE.GameServer/SCHALE.Common/Migrations/SqlServerMigrations/20240501081158_UnMapIsNew.cs

30 lines
774 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace SCHALE.Common.Migrations.SqlServerMigrations
{
/// <inheritdoc />
public partial class UnMapIsNew : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsNew",
table: "Characters");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsNew",
table: "Characters",
type: "bit",
nullable: false,
defaultValue: false);
}
}
}