You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

53 lines
1.7 KiB

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