157 lines
5.5 KiB
C#
157 lines
5.5 KiB
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
namespace APT.Data.Migrations.Migrations
|
|||
|
|
{
|
|||
|
|
public partial class hmr2025111601 : Migration
|
|||
|
|
{
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_DEPART",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_POST",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_TYPE",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_DEPART",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_POST",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_TYPE",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "DEPARTMENT_TYPE",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_DEPART",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_DEPARTMENT",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_POST",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_TYPE",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "IDENTIFY_USER",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "MEASURE",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
|||
|
|
type: "nvarchar(500)",
|
|||
|
|
maxLength: 500,
|
|||
|
|
nullable: true);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_DEPART",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_POST",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_TYPE",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_DEPART",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_POST",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_TYPE",
|
|||
|
|
table: "T_SK_RISK_EVALUATION_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "DEPARTMENT_TYPE",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_DEPART",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_DEPARTMENT",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_POST",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_TYPE",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "IDENTIFY_USER",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "MEASURE",
|
|||
|
|
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|