36 lines
		
	
	
		
			1009 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			36 lines
		
	
	
		
			1009 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using Microsoft.EntityFrameworkCore.Migrations;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace APT.Data.Migrations.Migrations
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    public partial class wjn2024012902 : Migration
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        protected override void Up(MigrationBuilder migrationBuilder)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.DropColumn(
							 | 
						|||
| 
								 | 
							
								                name: "MineType",
							 | 
						|||
| 
								 | 
							
								                table: "T_PF_MENU");
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.DropColumn(
							 | 
						|||
| 
								 | 
							
								                name: "MineType",
							 | 
						|||
| 
								 | 
							
								                table: "T_FM_USER");
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        protected override void Down(MigrationBuilder migrationBuilder)
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.AddColumn<string>(
							 | 
						|||
| 
								 | 
							
								                name: "MineType",
							 | 
						|||
| 
								 | 
							
								                table: "T_PF_MENU",
							 | 
						|||
| 
								 | 
							
								                type: "nvarchar(50)",
							 | 
						|||
| 
								 | 
							
								                maxLength: 50,
							 | 
						|||
| 
								 | 
							
								                nullable: true);
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								            migrationBuilder.AddColumn<string>(
							 | 
						|||
| 
								 | 
							
								                name: "MineType",
							 | 
						|||
| 
								 | 
							
								                table: "T_FM_USER",
							 | 
						|||
| 
								 | 
							
								                type: "nvarchar(50)",
							 | 
						|||
| 
								 | 
							
								                maxLength: 50,
							 | 
						|||
| 
								 | 
							
								                nullable: true);
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |