75 lines
2.3 KiB
C#
75 lines
2.3 KiB
C#
|
|
using System;
|
|||
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
namespace APT.Data.Migrations.Migrations
|
|||
|
|
{
|
|||
|
|
public partial class wyw2024030501 : Migration
|
|||
|
|
{
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.AddColumn<bool>(
|
|||
|
|
name: "ISNEEDTOUP",
|
|||
|
|
table: "T_BS_SAFE_CHECK",
|
|||
|
|
type: "bit",
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<Guid>(
|
|||
|
|
name: "CHECK_TYPE_ID",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT",
|
|||
|
|
type: "uniqueidentifier",
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<Guid>(
|
|||
|
|
name: "CHECK_TYPE_LEVEL_ID",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT",
|
|||
|
|
type: "uniqueidentifier",
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<string>(
|
|||
|
|
name: "DESCRIBE",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT",
|
|||
|
|
type: "nvarchar(max)",
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<int>(
|
|||
|
|
name: "SUBMIT_STATUS",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT",
|
|||
|
|
type: "int",
|
|||
|
|
nullable: true);
|
|||
|
|
|
|||
|
|
migrationBuilder.AddColumn<DateTime>(
|
|||
|
|
name: "LastDateSystem",
|
|||
|
|
table: "T_BS_CHECK_QUESTION",
|
|||
|
|
type: "datetime2",
|
|||
|
|
nullable: true);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "ISNEEDTOUP",
|
|||
|
|
table: "T_BS_SAFE_CHECK");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "CHECK_TYPE_ID",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "CHECK_TYPE_LEVEL_ID",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "DESCRIBE",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "SUBMIT_STATUS",
|
|||
|
|
table: "T_BS_RISK_SUBMIT_CONTENT");
|
|||
|
|
|
|||
|
|
migrationBuilder.DropColumn(
|
|||
|
|
name: "LastDateSystem",
|
|||
|
|
table: "T_BS_CHECK_QUESTION");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|