Browse Source

[CI SKIP] EF迁移 修改string长度

master
mahao 1 year ago
parent
commit
24cb465a74
  1. 10
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
  2. 6098
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013031758_20231013-2.Designer.cs
  3. 258
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013031758_20231013-2.cs
  4. 40
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

10
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs

@ -463,6 +463,7 @@ namespace Win.Sfs.SettleAccount
b.Property(x => x.KeyCode).HasMaxLength(50);
b.Property(x => x.GroupNum).HasMaxLength(50);
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50);
b.HasIndex(x => x.BusinessType);
});
}
@ -481,6 +482,8 @@ namespace Win.Sfs.SettleAccount
b.Property(x => x.PN).HasMaxLength(50);
b.Property(x => x.KeyCode).HasMaxLength(50);
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50);
b.HasIndex(x => x.BusinessType);
b.HasIndex(x => x.IsHaveEdiData);
});
}
@ -502,6 +505,8 @@ namespace Win.Sfs.SettleAccount
b.Property(x => x.Extend2).HasMaxLength(50);
b.Property(x => x.Extend3).HasMaxLength(50);
b.Property(x => x.Extend4).HasMaxLength(50);
b.HasIndex(x => x.IsDeleted);
b.HasIndex(x => x.IsHaveSeData);
});
}
@ -648,6 +653,7 @@ namespace Win.Sfs.SettleAccount
b.Property(x => x.KeyCode).HasMaxLength(50);
b.Property(x => x.GroupNum).HasMaxLength(50);
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50);
b.HasIndex(x => x.BusinessType);
});
}
@ -666,6 +672,8 @@ namespace Win.Sfs.SettleAccount
b.Property(x => x.PN).HasMaxLength(50);
b.Property(x => x.KeyCode).HasMaxLength(50);
b.Property(x => x.ConcurrencyStamp).HasMaxLength(50);
b.HasIndex(x => x.BusinessType);
b.HasIndex(x => x.IsHaveEdiData);
});
}
@ -747,6 +755,8 @@ namespace Win.Sfs.SettleAccount
b.Property(x => x.Extend2).HasMaxLength(50);
b.Property(x => x.Extend3).HasMaxLength(50);
b.Property(x => x.Extend4).HasMaxLength(50);
b.HasIndex(x => x.IsDeleted);
b.HasIndex(x => x.IsHaveSeData);
});
}

6098
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013031758_20231013-2.Designer.cs

File diff suppressed because it is too large

258
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20231013031758_20231013-2.cs

@ -0,0 +1,258 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202310132 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
column: "ConcurrencyStamp",
value: "ce0c6fdbfcb54429a3df400467ead4df");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
column: "ConcurrencyStamp",
value: "2d3a0e56f77b4759be14618368b1fab2");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
column: "ConcurrencyStamp",
value: "1d4e10ce53da4f4ab7d0e7c75301aa57");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
column: "ConcurrencyStamp",
value: "68256c9631614a2bac40fdf5a62f5582");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
column: "ConcurrencyStamp",
value: "03a006033fb5493bbf533ec0986d5014");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
column: "ConcurrencyStamp",
value: "5e39adeb506a430da075237d089e059b");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
column: "ConcurrencyStamp",
value: "b2e0060dbe4042fcace4022eb0c8ea45");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
column: "ConcurrencyStamp",
value: "3602bd41dcde436a980fcc2935a6760f");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
column: "ConcurrencyStamp",
value: "0e45a5d4788b41a39837046bdb63d45a");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
column: "ConcurrencyStamp",
value: "982412f397594c46abeaf58a29ad28f4");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
column: "ConcurrencyStamp",
value: "eb8d153d620b46318a75ad1ce1133865");
migrationBuilder.CreateIndex(
name: "IX_Set_HBPO_SE_EDI_IsDeleted",
table: "Set_HBPO_SE_EDI",
column: "IsDeleted");
migrationBuilder.CreateIndex(
name: "IX_Set_HBPO_SE_EDI_IsHaveSeData",
table: "Set_HBPO_SE_EDI",
column: "IsHaveSeData");
migrationBuilder.CreateIndex(
name: "IX_Set_HBPO_SE_DETAIL_BusinessType",
table: "Set_HBPO_SE_DETAIL",
column: "BusinessType");
migrationBuilder.CreateIndex(
name: "IX_Set_HBPO_SE_DETAIL_IsHaveEdiData",
table: "Set_HBPO_SE_DETAIL",
column: "IsHaveEdiData");
migrationBuilder.CreateIndex(
name: "IX_Set_HBPO_SA_DETAIL_BusinessType",
table: "Set_HBPO_SA_DETAIL",
column: "BusinessType");
migrationBuilder.CreateIndex(
name: "IX_Set_BBAC_SE_EDI_IsDeleted",
table: "Set_BBAC_SE_EDI",
column: "IsDeleted");
migrationBuilder.CreateIndex(
name: "IX_Set_BBAC_SE_EDI_IsHaveSeData",
table: "Set_BBAC_SE_EDI",
column: "IsHaveSeData");
migrationBuilder.CreateIndex(
name: "IX_Set_BBAC_SE_DETAIL_BusinessType",
table: "Set_BBAC_SE_DETAIL",
column: "BusinessType");
migrationBuilder.CreateIndex(
name: "IX_Set_BBAC_SE_DETAIL_IsHaveEdiData",
table: "Set_BBAC_SE_DETAIL",
column: "IsHaveEdiData");
migrationBuilder.CreateIndex(
name: "IX_Set_BBAC_SA_DETAIL_BusinessType",
table: "Set_BBAC_SA_DETAIL",
column: "BusinessType");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_Set_HBPO_SE_EDI_IsDeleted",
table: "Set_HBPO_SE_EDI");
migrationBuilder.DropIndex(
name: "IX_Set_HBPO_SE_EDI_IsHaveSeData",
table: "Set_HBPO_SE_EDI");
migrationBuilder.DropIndex(
name: "IX_Set_HBPO_SE_DETAIL_BusinessType",
table: "Set_HBPO_SE_DETAIL");
migrationBuilder.DropIndex(
name: "IX_Set_HBPO_SE_DETAIL_IsHaveEdiData",
table: "Set_HBPO_SE_DETAIL");
migrationBuilder.DropIndex(
name: "IX_Set_HBPO_SA_DETAIL_BusinessType",
table: "Set_HBPO_SA_DETAIL");
migrationBuilder.DropIndex(
name: "IX_Set_BBAC_SE_EDI_IsDeleted",
table: "Set_BBAC_SE_EDI");
migrationBuilder.DropIndex(
name: "IX_Set_BBAC_SE_EDI_IsHaveSeData",
table: "Set_BBAC_SE_EDI");
migrationBuilder.DropIndex(
name: "IX_Set_BBAC_SE_DETAIL_BusinessType",
table: "Set_BBAC_SE_DETAIL");
migrationBuilder.DropIndex(
name: "IX_Set_BBAC_SE_DETAIL_IsHaveEdiData",
table: "Set_BBAC_SE_DETAIL");
migrationBuilder.DropIndex(
name: "IX_Set_BBAC_SA_DETAIL_BusinessType",
table: "Set_BBAC_SA_DETAIL");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
column: "ConcurrencyStamp",
value: "887aa288e05f486a9fc47cee5c16042c");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
column: "ConcurrencyStamp",
value: "beb2a2793d944668aa12b145a4fed0af");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"),
column: "ConcurrencyStamp",
value: "f7a92e81d64d410e92517b70198cb883");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
column: "ConcurrencyStamp",
value: "d24e993891c84beead44c675d352d17c");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
column: "ConcurrencyStamp",
value: "7ad9de79ed1942d58f8bdcf0f31a0182");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
column: "ConcurrencyStamp",
value: "897a0bf76eba4d298de6997ac5451ffa");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
column: "ConcurrencyStamp",
value: "8b0dcc505f594d2fae7a011bd3c9cb0b");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
column: "ConcurrencyStamp",
value: "72bea3403a0a4ca5be463389628ee6fd");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
column: "ConcurrencyStamp",
value: "2b4446c3583e4503b39f7b62d6f35701");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
column: "ConcurrencyStamp",
value: "650fa7efb97a48a98ae99655da5f10b5");
migrationBuilder.UpdateData(
table: "Set_JobItem",
keyColumn: "Id",
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
column: "ConcurrencyStamp",
value: "9db06d1651824c52ac748e70d9bdd22c");
}
}
}

40
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

@ -636,6 +636,8 @@ namespace Win.Sfs.SettleAccount.Migrations
b.HasKey("Id");
b.HasIndex("BusinessType");
b.ToTable("Set_BBAC_SA_DETAIL");
});
@ -886,6 +888,10 @@ namespace Win.Sfs.SettleAccount.Migrations
b.HasKey("Id");
b.HasIndex("BusinessType");
b.HasIndex("IsHaveEdiData");
b.ToTable("Set_BBAC_SE_DETAIL");
});
@ -1000,6 +1006,10 @@ namespace Win.Sfs.SettleAccount.Migrations
b.HasKey("Id");
b.HasIndex("IsDeleted");
b.HasIndex("IsHaveSeData");
b.ToTable("Set_BBAC_SE_EDI");
});
@ -1910,6 +1920,8 @@ namespace Win.Sfs.SettleAccount.Migrations
b.HasKey("Id");
b.HasIndex("BusinessType");
b.ToTable("Set_HBPO_SA_DETAIL");
});
@ -2160,6 +2172,10 @@ namespace Win.Sfs.SettleAccount.Migrations
b.HasKey("Id");
b.HasIndex("BusinessType");
b.HasIndex("IsHaveEdiData");
b.ToTable("Set_HBPO_SE_DETAIL");
});
@ -2274,6 +2290,10 @@ namespace Win.Sfs.SettleAccount.Migrations
b.HasKey("Id");
b.HasIndex("IsDeleted");
b.HasIndex("IsHaveSeData");
b.ToTable("Set_HBPO_SE_EDI");
});
@ -4669,7 +4689,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"),
ConcurrencyStamp = "094fcb0226fa43689bc1e01b7fcc4fac",
ConcurrencyStamp = "650fa7efb97a48a98ae99655da5f10b5",
Cron = "0 0 8 26 *",
IsDisabled = false,
IsRunning = false,
@ -4679,7 +4699,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("185c5968-e02b-267e-db2f-225fccfc9716"),
ConcurrencyStamp = "692a0ce1268c4ad2a143785ae1ef1f32",
ConcurrencyStamp = "887aa288e05f486a9fc47cee5c16042c",
Cron = "0 0/1 * * * ?",
IsDisabled = false,
IsRunning = false,
@ -4689,7 +4709,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"),
ConcurrencyStamp = "49af54e1a4a54b1ebad0d22fbe54951a",
ConcurrencyStamp = "beb2a2793d944668aa12b145a4fed0af",
Cron = "0 0/1 * * * ?",
IsDisabled = false,
IsRunning = false,
@ -4699,7 +4719,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"),
ConcurrencyStamp = "5572a8f023dd49139c0c23080ebb5a84",
ConcurrencyStamp = "8b0dcc505f594d2fae7a011bd3c9cb0b",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4719,7 +4739,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"),
ConcurrencyStamp = "577bc27326b04aafabebb3d342b907b9",
ConcurrencyStamp = "7ad9de79ed1942d58f8bdcf0f31a0182",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4729,7 +4749,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"),
ConcurrencyStamp = "ea90c6a6b4a94e23ad1e7bcf7f7f9def",
ConcurrencyStamp = "d24e993891c84beead44c675d352d17c",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4739,7 +4759,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"),
ConcurrencyStamp = "03777851aec947d689487481665eb8b5",
ConcurrencyStamp = "9db06d1651824c52ac748e70d9bdd22c",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4749,7 +4769,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"),
ConcurrencyStamp = "8b834d5fc51f43f6b032565624b06ef2",
ConcurrencyStamp = "897a0bf76eba4d298de6997ac5451ffa",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4759,7 +4779,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"),
ConcurrencyStamp = "f9dc1b87b1454780897836ab200b5fbc",
ConcurrencyStamp = "2b4446c3583e4503b39f7b62d6f35701",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,
@ -4769,7 +4789,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"),
ConcurrencyStamp = "3f3dd3d083ff40998c5d70a0d2e1c966",
ConcurrencyStamp = "72bea3403a0a4ca5be463389628ee6fd",
Cron = "0 0/30 * * * ? ",
IsDisabled = false,
IsRunning = false,

Loading…
Cancel
Save