using System; using Microsoft.EntityFrameworkCore.Migrations; namespace APT.Data.Migrations.Migrations { public partial class wyw2024080501 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "IS_CANCEL", table: "T_BS_SAFE_CHECK", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "REMARK_CANCEL", table: "T_BS_SAFE_CHECK", type: "nvarchar(500)", maxLength: 500, nullable: true); migrationBuilder.AddColumn( name: "USER_ID_CANCEL", table: "T_BS_SAFE_CHECK", type: "uniqueidentifier", nullable: true); migrationBuilder.AddColumn( name: "IS_CANCEL", table: "T_BS_RISK_SUBMIT", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "REMARK_CANCEL", table: "T_BS_RISK_SUBMIT", type: "nvarchar(500)", maxLength: 500, nullable: true); migrationBuilder.AddColumn( name: "USER_ID_CANCEL", table: "T_BS_RISK_SUBMIT", type: "uniqueidentifier", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IS_CANCEL", table: "T_BS_SAFE_CHECK"); migrationBuilder.DropColumn( name: "REMARK_CANCEL", table: "T_BS_SAFE_CHECK"); migrationBuilder.DropColumn( name: "USER_ID_CANCEL", table: "T_BS_SAFE_CHECK"); migrationBuilder.DropColumn( name: "IS_CANCEL", table: "T_BS_RISK_SUBMIT"); migrationBuilder.DropColumn( name: "REMARK_CANCEL", table: "T_BS_RISK_SUBMIT"); migrationBuilder.DropColumn( name: "USER_ID_CANCEL", table: "T_BS_RISK_SUBMIT"); } } }