using System; using Microsoft.EntityFrameworkCore.Migrations; namespace APT.Data.Migrations.Migrations { public partial class wyw2024030501 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ISNEEDTOUP", table: "T_BS_SAFE_CHECK", type: "bit", nullable: true); migrationBuilder.AddColumn( name: "CHECK_TYPE_ID", table: "T_BS_RISK_SUBMIT_CONTENT", type: "uniqueidentifier", nullable: true); migrationBuilder.AddColumn( name: "CHECK_TYPE_LEVEL_ID", table: "T_BS_RISK_SUBMIT_CONTENT", type: "uniqueidentifier", nullable: true); migrationBuilder.AddColumn( name: "DESCRIBE", table: "T_BS_RISK_SUBMIT_CONTENT", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "SUBMIT_STATUS", table: "T_BS_RISK_SUBMIT_CONTENT", type: "int", nullable: true); migrationBuilder.AddColumn( 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"); } } }