47 lines
1.4 KiB
C#
47 lines
1.4 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace APT.Data.Migrations.Migrations
|
|
{
|
|
public partial class hmr2026072901 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "FORM_NAME",
|
|
table: "T_BI_SAFETASK_FINISH",
|
|
type: "nvarchar(500)",
|
|
maxLength: 500,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "FORM_STATUS",
|
|
table: "T_BI_SAFETASK_FINISH",
|
|
type: "nvarchar(500)",
|
|
maxLength: 500,
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "OVERTIME",
|
|
table: "T_BI_SAFETASK_FINISH",
|
|
type: "int",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "FORM_NAME",
|
|
table: "T_BI_SAFETASK_FINISH");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "FORM_STATUS",
|
|
table: "T_BI_SAFETASK_FINISH");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "OVERTIME",
|
|
table: "T_BI_SAFETASK_FINISH");
|
|
}
|
|
}
|
|
}
|