using Microsoft.EntityFrameworkCore.Migrations; namespace APT.Data.Migrations.Migrations { public partial class hmr2025080501 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "MineType", table: "T_SK_RISK_AREA", type: "int", nullable: true); migrationBuilder.AlterColumn( name: "EVALUATE_LEVEL", table: "T_HM_OPERATION_LINK", type: "int", nullable: true, oldClrType: typeof(int), oldType: "int"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "MineType", table: "T_SK_RISK_AREA"); migrationBuilder.AlterColumn( name: "EVALUATE_LEVEL", table: "T_HM_OPERATION_LINK", type: "int", nullable: false, defaultValue: 0, oldClrType: typeof(int), oldType: "int", oldNullable: true); } } }