36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using Microsoft.EntityFrameworkCore.Migrations;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace APT.Data.Migrations.Migrations
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    public partial class hmr2025102302 : Migration
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        protected override void Up(MigrationBuilder migrationBuilder)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.AddColumn<string>(
							 | 
						|||
| 
								 | 
							
								                name: "EVALUATION_DEPARTMENT",
							 | 
						|||
| 
								 | 
							
								                table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
							 | 
						|||
| 
								 | 
							
								                type: "nvarchar(500)",
							 | 
						|||
| 
								 | 
							
								                maxLength: 500,
							 | 
						|||
| 
								 | 
							
								                nullable: true);
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.AddColumn<string>(
							 | 
						|||
| 
								 | 
							
								                name: "EVALUATION_POST",
							 | 
						|||
| 
								 | 
							
								                table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
							 | 
						|||
| 
								 | 
							
								                type: "nvarchar(500)",
							 | 
						|||
| 
								 | 
							
								                maxLength: 500,
							 | 
						|||
| 
								 | 
							
								                nullable: true);
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        protected override void Down(MigrationBuilder migrationBuilder)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.DropColumn(
							 | 
						|||
| 
								 | 
							
								                name: "EVALUATION_DEPARTMENT",
							 | 
						|||
| 
								 | 
							
								                table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.DropColumn(
							 | 
						|||
| 
								 | 
							
								                name: "EVALUATION_POST",
							 | 
						|||
| 
								 | 
							
								                table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |