using Microsoft.EntityFrameworkCore.Migrations; namespace Win_in.Sfs.Wms.Job.Migrations { public partial class MesDeliverJob20220729 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "ProjectCode", table: "JobMesDeliverJob", type: "nvarchar(max)", nullable: true, oldClrType: typeof(string), oldType: "nvarchar(64)", oldMaxLength: 64, oldNullable: true); migrationBuilder.AddColumn( name: "CustomerLocationCode", table: "JobMesDeliverJob", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "CustomerWarehouseCode", table: "JobMesDeliverJob", type: "nvarchar(max)", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "CustomerLocationCode", table: "JobMesDeliverJob"); migrationBuilder.DropColumn( name: "CustomerWarehouseCode", table: "JobMesDeliverJob"); migrationBuilder.AlterColumn( name: "ProjectCode", table: "JobMesDeliverJob", type: "nvarchar(64)", maxLength: 64, nullable: true, oldClrType: typeof(string), oldType: "nvarchar(max)", oldNullable: true); } } }