36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace APT.Data.Migrations.Migrations
|
|
{
|
|
public partial class hmr2025112101 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IS_RUN",
|
|
table: "T_FO_FIRE_JOB_WB",
|
|
type: "bit",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IS_RUN",
|
|
table: "T_FO_FIRE_JOB",
|
|
type: "bit",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "IS_RUN",
|
|
table: "T_FO_FIRE_JOB_WB");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "IS_RUN",
|
|
table: "T_FO_FIRE_JOB");
|
|
}
|
|
}
|
|
}
|