liuyunfeng
11 months ago
9 changed files with 4072 additions and 7152 deletions
File diff suppressed because it is too large
@ -1,338 +0,0 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace WY.NewJit.Migrations |
|||
{ |
|||
public partial class Created_NewJit_Entity20220701 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
//migrationBuilder.AddColumn<DateTime>(
|
|||
// name: "MinOnlineTime",
|
|||
// table: "FisZhuHuBanPackingList",
|
|||
// type: "datetime2",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<int>(
|
|||
// name: "ErrorCount",
|
|||
// table: "FisMessageReceive",
|
|||
// type: "int",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<string>(
|
|||
// name: "ErrorMessage",
|
|||
// table: "FisMessageReceive",
|
|||
// type: "nvarchar(max)",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<DateTime>(
|
|||
// name: "LastUpdateTime",
|
|||
// table: "FisMessageReceive",
|
|||
// type: "datetime2",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<DateTime>(
|
|||
// name: "MinOnlineTime",
|
|||
// table: "FisMenBanPackingList",
|
|||
// type: "datetime2",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<bool>(
|
|||
// name: "IsPartSwitch",
|
|||
// table: "FisBillR100",
|
|||
// type: "bit",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<int>(
|
|||
// name: "HostSN2",
|
|||
// table: "FisBillM100",
|
|||
// type: "int",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<bool>(
|
|||
// name: "IsPartSwitch",
|
|||
// table: "FisBillM100",
|
|||
// type: "bit",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<int>(
|
|||
// name: "NeedReplenishPrint",
|
|||
// table: "FisBillM100",
|
|||
// type: "int",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<DateTime>(
|
|||
// name: "PrintTime2",
|
|||
// table: "FisBillM100",
|
|||
// type: "datetime2",
|
|||
// nullable: true);
|
|||
|
|||
//migrationBuilder.AlterColumn<string>(
|
|||
// name: "GroupCode",
|
|||
// table: "FisAssemblyCfgErp",
|
|||
// type: "varchar(100)",
|
|||
// maxLength: 100,
|
|||
// nullable: true,
|
|||
// oldClrType: typeof(string),
|
|||
// oldType: "varchar(50)",
|
|||
// oldMaxLength: 50,
|
|||
// oldNullable: true);
|
|||
|
|||
//migrationBuilder.AddColumn<Guid>(
|
|||
// name: "GroupId",
|
|||
// table: "FisAssemblyCfgErp",
|
|||
// type: "uniqueidentifier",
|
|||
// nullable: false,
|
|||
// defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
|
|||
|
|||
//migrationBuilder.CreateTable(
|
|||
// name: "FisAssemblyCfgGroup",
|
|||
// columns: table => new
|
|||
// {
|
|||
// Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
|||
// GroupCode = table.Column<string>(type: "varchar(100)", maxLength: 100, nullable: true),
|
|||
// VehicleModel = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
// IsDisable = table.Column<bool>(type: "bit", nullable: false),
|
|||
// ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
// ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
|
|||
// CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
|||
// CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
|||
// LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
|||
// LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
|||
// IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
|||
// DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
|||
// DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
|||
// },
|
|||
// constraints: table =>
|
|||
// {
|
|||
// table.PrimaryKey("PK_FisAssemblyCfgGroup", x => x.Id);
|
|||
// });
|
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "FisCUR_TB_BILL", |
|||
columns: table => new |
|||
{ |
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
UID = table.Column<int>(type: "int", nullable: false), |
|||
BillNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
State = table.Column<int>(type: "int", nullable: false), |
|||
SourceBillNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
SourceBillNum2 = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
SourceBillNum3 = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
BillTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
StartTime = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
FinishTime = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
OperName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
DetailQty = table.Column<int>(type: "int", nullable: false), |
|||
VendId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
CustId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ProjectId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
TransportType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
TruckNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
GateCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
GateName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
DockCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
AccountDate = table.Column<DateTime>(type: "datetime2", nullable: true), |
|||
GUID = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_FisCUR_TB_BILL", x => x.Id); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "FisCUR_TS_SORT_DETAIL", |
|||
columns: table => new |
|||
{ |
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
UID = table.Column<long>(type: "bigint", nullable: false), |
|||
BillNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
LineNum = table.Column<int>(type: "int", nullable: false), |
|||
VinCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
SeqNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
PartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
BarCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
CustPartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ProjectId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
FyonNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
VendId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
Dock = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
DispatchDate = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
State = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true), |
|||
PlanQty = table.Column<decimal>(type: "money", nullable: false), |
|||
Qty = table.Column<decimal>(type: "money", nullable: false), |
|||
CustBarCode = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true), |
|||
ReceiptQty = table.Column<decimal>(type: "money", nullable: false), |
|||
FullBarCode = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_FisCUR_TS_SORT_DETAIL", x => x.Id); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "FisHIS_TB_BILL", |
|||
columns: table => new |
|||
{ |
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
UID = table.Column<int>(type: "int", nullable: false), |
|||
BillNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
State = table.Column<int>(type: "int", nullable: false), |
|||
SourceBillNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
SourceBillNum2 = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
SourceBillNum3 = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
BillTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|||
StartTime = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
FinishTime = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
OperName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
DetailQty = table.Column<int>(type: "int", nullable: false), |
|||
VendId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
CustId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ProjectId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
TransportType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
TruckNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
GateCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
GateName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
DockCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|||
AccountDate = table.Column<DateTime>(type: "datetime2", nullable: true), |
|||
GUID = table.Column<Guid>(type: "uniqueidentifier", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_FisHIS_TB_BILL", x => x.Id); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "FisHIS_TS_SORT_DETAIL", |
|||
columns: table => new |
|||
{ |
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
UID = table.Column<long>(type: "bigint", nullable: false), |
|||
BillNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
LineNum = table.Column<int>(type: "int", nullable: false), |
|||
VinCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
SeqNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
PartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
BarCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
CustPartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ProjectId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
FyonNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
VendId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
Dock = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
DispatchDate = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
State = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|||
Remark = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true), |
|||
PlanQty = table.Column<decimal>(type: "money", nullable: false), |
|||
Qty = table.Column<decimal>(type: "money", nullable: false), |
|||
CustBarCode = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true), |
|||
ReceiptQty = table.Column<decimal>(type: "money", nullable: false), |
|||
FullBarCode = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_FisHIS_TS_SORT_DETAIL", x => x.Id); |
|||
}); |
|||
|
|||
//migrationBuilder.CreateTable(
|
|||
// name: "FisMessageReceiveArchive",
|
|||
// columns: table => new
|
|||
// {
|
|||
// Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
|||
// MessageFileName = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
// MessageContent = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
// ReceiveStatus = table.Column<int>(type: "int", nullable: false),
|
|||
// ReceiveTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
|||
// LastUpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
|||
// MessageReceiveId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
|||
// BillType = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
// BillOnlineTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
|||
// BillHostSN = table.Column<int>(type: "int", nullable: true),
|
|||
// ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
|||
// ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true)
|
|||
// },
|
|||
// constraints: table =>
|
|||
// {
|
|||
// table.PrimaryKey("PK_FisMessageReceiveArchive", x => x.Id);
|
|||
// });
|
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
//migrationBuilder.DropTable(
|
|||
// name: "FisAssemblyCfgGroup");
|
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "FisCUR_TB_BILL"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "FisCUR_TS_SORT_DETAIL"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "FisHIS_TB_BILL"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "FisHIS_TS_SORT_DETAIL"); |
|||
|
|||
//migrationBuilder.DropTable(
|
|||
// name: "FisMessageReceiveArchive");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "MinOnlineTime",
|
|||
// table: "FisZhuHuBanPackingList");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "ErrorCount",
|
|||
// table: "FisMessageReceive");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "ErrorMessage",
|
|||
// table: "FisMessageReceive");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "LastUpdateTime",
|
|||
// table: "FisMessageReceive");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "MinOnlineTime",
|
|||
// table: "FisMenBanPackingList");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "IsPartSwitch",
|
|||
// table: "FisBillR100");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "HostSN2",
|
|||
// table: "FisBillM100");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "IsPartSwitch",
|
|||
// table: "FisBillM100");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "NeedReplenishPrint",
|
|||
// table: "FisBillM100");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "PrintTime2",
|
|||
// table: "FisBillM100");
|
|||
|
|||
//migrationBuilder.DropColumn(
|
|||
// name: "GroupId",
|
|||
// table: "FisAssemblyCfgErp");
|
|||
|
|||
//migrationBuilder.AlterColumn<string>(
|
|||
// name: "GroupCode",
|
|||
// table: "FisAssemblyCfgErp",
|
|||
// type: "varchar(50)",
|
|||
// maxLength: 50,
|
|||
// nullable: true,
|
|||
// oldClrType: typeof(string),
|
|||
// oldType: "varchar(100)",
|
|||
// oldMaxLength: 100,
|
|||
// oldNullable: true);
|
|||
} |
|||
} |
|||
} |
@ -1,233 +0,0 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace WY.NewJit.Migrations |
|||
{ |
|||
public partial class Created_NewJit_Entity20220701_2 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VinCode", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PartCode", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FullBarCode", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(200)", |
|||
maxLength: 200, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(200)", |
|||
oldMaxLength: 200, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisHIS_TB_BILL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VinCode", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PartCode", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FullBarCode", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(200)", |
|||
maxLength: 200, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(200)", |
|||
oldMaxLength: 200, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisCUR_TB_BILL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: "", |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VinCode", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PartCode", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FullBarCode", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(200)", |
|||
maxLength: 200, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(200)", |
|||
oldMaxLength: 200); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisHIS_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisHIS_TB_BILL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "VinCode", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "PartCode", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "FullBarCode", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(200)", |
|||
maxLength: 200, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(200)", |
|||
oldMaxLength: 200); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisCUR_TS_SORT_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BillNum", |
|||
table: "FisCUR_TB_BILL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
File diff suppressed because it is too large
File diff suppressed because it is too large
Loading…
Reference in new issue