36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			36 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using Microsoft.EntityFrameworkCore.Migrations;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace APT.Data.Migrations.Migrations
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    public partial class wyw2025070401 : Migration
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        protected override void Up(MigrationBuilder migrationBuilder)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.AlterColumn<string>(
							 | 
						|||
| 
								 | 
							
								                name: "CONTEXT",
							 | 
						|||
| 
								 | 
							
								                table: "T_PF_APPROVE_DETAIL",
							 | 
						|||
| 
								 | 
							
								                type: "nvarchar(200)",
							 | 
						|||
| 
								 | 
							
								                maxLength: 200,
							 | 
						|||
| 
								 | 
							
								                nullable: true,
							 | 
						|||
| 
								 | 
							
								                oldClrType: typeof(string),
							 | 
						|||
| 
								 | 
							
								                oldType: "nvarchar(100)",
							 | 
						|||
| 
								 | 
							
								                oldMaxLength: 100,
							 | 
						|||
| 
								 | 
							
								                oldNullable: true);
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        protected override void Down(MigrationBuilder migrationBuilder)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.AlterColumn<string>(
							 | 
						|||
| 
								 | 
							
								                name: "CONTEXT",
							 | 
						|||
| 
								 | 
							
								                table: "T_PF_APPROVE_DETAIL",
							 | 
						|||
| 
								 | 
							
								                type: "nvarchar(100)",
							 | 
						|||
| 
								 | 
							
								                maxLength: 100,
							 | 
						|||
| 
								 | 
							
								                nullable: true,
							 | 
						|||
| 
								 | 
							
								                oldClrType: typeof(string),
							 | 
						|||
| 
								 | 
							
								                oldType: "nvarchar(200)",
							 | 
						|||
| 
								 | 
							
								                oldMaxLength: 200,
							 | 
						|||
| 
								 | 
							
								                oldNullable: true);
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |