wanggang
1 year ago
12 changed files with 6573 additions and 292 deletions
File diff suppressed because it is too large
@ -0,0 +1,310 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Migrations |
|||
{ |
|||
public partial class _202308251 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DeleteData( |
|||
table: "Set_VmiBalance", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("f12dd04d-4189-4f24-9501-038a2846b84a")); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_PUB_SE_DETAIL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_PUB_SA_DETAIL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_HBPO_SE_DETAIL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_HBPO_SA_DETAIL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_BBAC_SE_DETAIL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_BBAC_SA_DETAIL", |
|||
type: "nvarchar(100)", |
|||
maxLength: 100, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|||
column: "ConcurrencyStamp", |
|||
value: "d6ba8aa579b04d55a23bd4bf24e6ed9f"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|||
column: "ConcurrencyStamp", |
|||
value: "72a5ae8256104547b6d5a41323c3ad84"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|||
column: "ConcurrencyStamp", |
|||
value: "03f4d0ab46de4dfa88a918fe2b3c48fa"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|||
column: "ConcurrencyStamp", |
|||
value: "143f0e0bf5b6446aafe7964aab5fcb1a"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|||
column: "ConcurrencyStamp", |
|||
value: "76e8e365e9ff48e1953f3b14e7e01fe7"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8e1cb5a9-8bcf-17fd-97e3-4c10532a5794"), |
|||
column: "ConcurrencyStamp", |
|||
value: "5bdbe6b8c451462983e460c4adcab0f1"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|||
column: "ConcurrencyStamp", |
|||
value: "955009a9778e4cd1b2dfde2aabebabfd"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|||
column: "ConcurrencyStamp", |
|||
value: "8f8d688a37e54d84aeca023750200e2f"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|||
column: "ConcurrencyStamp", |
|||
value: "041fcaa8b49347edb5b46fde3ab1032d"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|||
column: "ConcurrencyStamp", |
|||
value: "9ed27ee117aa41a681a8cdbfb30b2f25"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c3fe2b66-28cc-c612-eca6-a362769ae90c"), |
|||
column: "ConcurrencyStamp", |
|||
value: "b612ac27de904ec5b5fb5371cf427566"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|||
column: "ConcurrencyStamp", |
|||
value: "f8789477c42b476485bd7499b5facce4"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "1b569f48046046b2b908b1a3b327f104"); |
|||
|
|||
migrationBuilder.InsertData( |
|||
table: "Set_VmiBalance", |
|||
columns: new[] { "Id", "AssembleData", "BillTime", "CodeType", "ConcurrencyStamp", "Configcode", "CustPartCode", "DeliverBillType", "DeliverSubBillType", "ErpToLoc", "IsReplenished", "MatchNumber", "OrderNum", "PjsNum", "Qty", "ReMark", "RealCode", "RealPartCode", "Seq", "SettlementPartCode", "SettlementVinCode", "UniqueCode", "VinCode", "factory" }, |
|||
values: new object[] { new Guid("73ceebb1-5b80-48b1-ac38-80334d1f345f"), null, null, null, "bfe48a54e65e4856bd2e768456026105", null, null, 1, null, "ErpToLoc", null, null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_VmiSyncTask", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("08de7a37-5ede-f524-cb3d-3c80888fd7d8"), |
|||
column: "ConcurrencyStamp", |
|||
value: "25685f349c47487f874b9ac5dc039190"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_VmiSyncTask", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b8ba69e3-f5a3-c95e-8f82-c9c2fec960b4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "2debe020ac9d4f37b62a52ff564577c2"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DeleteData( |
|||
table: "Set_VmiBalance", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("73ceebb1-5b80-48b1-ac38-80334d1f345f")); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_PUB_SE_DETAIL"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_PUB_SA_DETAIL"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_HBPO_SE_DETAIL"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_HBPO_SA_DETAIL"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_BBAC_SE_DETAIL"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CustomerPartCodeNoSpace", |
|||
table: "Set_BBAC_SA_DETAIL"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|||
column: "ConcurrencyStamp", |
|||
value: "cda3828abfa24e43a7ff9dced0aceaeb"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|||
column: "ConcurrencyStamp", |
|||
value: "ebb669926c1d4ab988edfe14269e4b20"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|||
column: "ConcurrencyStamp", |
|||
value: "03159d6b06554bf99cfbbb15d476e386"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|||
column: "ConcurrencyStamp", |
|||
value: "73e9bf92fae34390a12c393f6ed8d163"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|||
column: "ConcurrencyStamp", |
|||
value: "b22b285ec9aa48c8b7ed2aa1f9dd7af6"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8e1cb5a9-8bcf-17fd-97e3-4c10532a5794"), |
|||
column: "ConcurrencyStamp", |
|||
value: "12581a5c89da4c8587f2696f8b02ce62"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|||
column: "ConcurrencyStamp", |
|||
value: "456fe904f19a46349489730351148e28"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|||
column: "ConcurrencyStamp", |
|||
value: "15d1504855924d95abde0dc835de555d"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|||
column: "ConcurrencyStamp", |
|||
value: "f5d16790a44b4367aeeec82ab1a35fd4"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|||
column: "ConcurrencyStamp", |
|||
value: "11cf3dd1955c4da29aa430ed0b9bafdb"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c3fe2b66-28cc-c612-eca6-a362769ae90c"), |
|||
column: "ConcurrencyStamp", |
|||
value: "cedf8a69b6474171b18c5fe227b78d26"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|||
column: "ConcurrencyStamp", |
|||
value: "87fd77d7f0e04c4da372a75168619afc"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "6cdaca1650424494980e906bb44eab0f"); |
|||
|
|||
migrationBuilder.InsertData( |
|||
table: "Set_VmiBalance", |
|||
columns: new[] { "Id", "AssembleData", "BillTime", "CodeType", "ConcurrencyStamp", "Configcode", "CustPartCode", "DeliverBillType", "DeliverSubBillType", "ErpToLoc", "IsReplenished", "MatchNumber", "OrderNum", "PjsNum", "Qty", "ReMark", "RealCode", "RealPartCode", "Seq", "SettlementPartCode", "SettlementVinCode", "UniqueCode", "VinCode", "factory" }, |
|||
values: new object[] { new Guid("f12dd04d-4189-4f24-9501-038a2846b84a"), null, null, null, "1200fe51a7b84cfda12141b184958098", null, null, 1, null, "ErpToLoc", null, null, "OrderNum", null, 0m, null, null, "PartCode", null, null, null, null, "VinCode", null }); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_VmiSyncTask", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("08de7a37-5ede-f524-cb3d-3c80888fd7d8"), |
|||
column: "ConcurrencyStamp", |
|||
value: "b301dcf7075a41768ced27af9a124f2f"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_VmiSyncTask", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b8ba69e3-f5a3-c95e-8f82-c9c2fec960b4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "1606b33f2487461fb72fb38851576947"); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue