47 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
using Microsoft.EntityFrameworkCore.Migrations;
 | 
						|
 | 
						|
namespace APT.Data.Migrations.Migrations
 | 
						|
{
 | 
						|
    public partial class hmr2025100901 : Migration
 | 
						|
    {
 | 
						|
        protected override void Up(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.AddColumn<int>(
 | 
						|
                name: "MARK",
 | 
						|
                table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
 | 
						|
                type: "int",
 | 
						|
                nullable: false,
 | 
						|
                defaultValue: 0);
 | 
						|
 | 
						|
            migrationBuilder.AddColumn<int>(
 | 
						|
                name: "MARK",
 | 
						|
                table: "T_SK_RISK_EVALUATION_DETAIL",
 | 
						|
                type: "int",
 | 
						|
                nullable: false,
 | 
						|
                defaultValue: 0);
 | 
						|
 | 
						|
            migrationBuilder.AddColumn<int>(
 | 
						|
                name: "MARK",
 | 
						|
                table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
 | 
						|
                type: "int",
 | 
						|
                nullable: false,
 | 
						|
                defaultValue: 0);
 | 
						|
        }
 | 
						|
 | 
						|
        protected override void Down(MigrationBuilder migrationBuilder)
 | 
						|
        {
 | 
						|
            migrationBuilder.DropColumn(
 | 
						|
                name: "MARK",
 | 
						|
                table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
 | 
						|
 | 
						|
            migrationBuilder.DropColumn(
 | 
						|
                name: "MARK",
 | 
						|
                table: "T_SK_RISK_EVALUATION_DETAIL");
 | 
						|
 | 
						|
            migrationBuilder.DropColumn(
 | 
						|
                name: "MARK",
 | 
						|
                table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |