|
@ -3,210 +3,241 @@ using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount.Migrations |
|
|
namespace Win.Sfs.SettleAccount.Migrations |
|
|
{ |
|
|
{ |
|
|
public partial class _202309132 : Migration |
|
|
public partial class _202309141 : Migration |
|
|
{ |
|
|
{ |
|
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
|
{ |
|
|
{ |
|
|
migrationBuilder.DropColumn( |
|
|
migrationBuilder.AddColumn<string>( |
|
|
name: "IndexNum", |
|
|
name: "Place", |
|
|
table: "Set_HBPO_SA_DETAIL"); |
|
|
table: "Set_PUB_SA_DETAIL", |
|
|
|
|
|
type: "nvarchar(64)", |
|
|
migrationBuilder.DropColumn( |
|
|
maxLength: 64, |
|
|
name: "IndexNum", |
|
|
nullable: true); |
|
|
table: "Set_BBAC_SA_DETAIL"); |
|
|
|
|
|
|
|
|
migrationBuilder.AddColumn<string>( |
|
|
migrationBuilder.AddColumn<int>( |
|
|
name: "Place", |
|
|
name: "IndexNum", |
|
|
table: "Set_PUB_SA", |
|
|
table: "Set_PUB_NOT_SA_DETAIL", |
|
|
type: "nvarchar(64)", |
|
|
type: "int", |
|
|
maxLength: 64, |
|
|
nullable: false, |
|
|
nullable: true); |
|
|
defaultValue: 0); |
|
|
|
|
|
|
|
|
migrationBuilder.AddColumn<string>( |
|
|
migrationBuilder.AddColumn<int>( |
|
|
name: "Place", |
|
|
name: "IndexNum", |
|
|
table: "Set_HBPO_SA_DETAIL", |
|
|
table: "Set_PUB_CAN_SA_DETAIL", |
|
|
type: "nvarchar(64)", |
|
|
type: "int", |
|
|
maxLength: 64, |
|
|
nullable: false, |
|
|
nullable: true); |
|
|
defaultValue: 0); |
|
|
|
|
|
|
|
|
migrationBuilder.AlterColumn<string>( |
|
|
|
|
|
name: "Site", |
|
|
|
|
|
table: "Set_HBPO_SA", |
|
|
|
|
|
type: "nvarchar(64)", |
|
|
|
|
|
maxLength: 64, |
|
|
|
|
|
nullable: true, |
|
|
|
|
|
oldClrType: typeof(string), |
|
|
|
|
|
oldType: "nvarchar(max)", |
|
|
|
|
|
oldNullable: true); |
|
|
|
|
|
|
|
|
|
|
|
migrationBuilder.AddColumn<string>( |
|
|
|
|
|
name: "Place", |
|
|
|
|
|
table: "Set_HBPO_SA", |
|
|
|
|
|
type: "nvarchar(64)", |
|
|
|
|
|
maxLength: 64, |
|
|
|
|
|
nullable: true); |
|
|
|
|
|
|
|
|
|
|
|
migrationBuilder.AddColumn<string>( |
|
|
|
|
|
name: "Place", |
|
|
|
|
|
table: "Set_BBAC_SA_DETAIL", |
|
|
|
|
|
type: "nvarchar(64)", |
|
|
|
|
|
maxLength: 64, |
|
|
|
|
|
nullable: true); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "b3c6a359087b41e4b586c8c172efae5d"); |
|
|
value: "b1d31f0c8ba14fd5baf9e86a382cf23b"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "a37556b1d5ab4bc5b0cf1c1622eefff3"); |
|
|
value: "cb552d924aa5468c9605fc66af7f6aa2"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "b2fdf754c09d4f3f816a378f71b76b6f"); |
|
|
value: "861d9091519a403e880429b4ec92bf48"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "65b4aa76401a4f1ab800dc8b1702f0b9"); |
|
|
value: "26fc2c469b324cd38fb3ee9c1fda720d"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "136aad88976d4bf9b58a6e3586ca9fe1"); |
|
|
value: "3b34af99b803428faad0b383080a46ef"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "017827b08deb447ab5729a69e06d31dd"); |
|
|
value: "2120adc593a148ba95427da1eadc2073"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "289386fefb924a41afcc768204745473"); |
|
|
value: "9c91f78395054248aaca3cb07018d785"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "30329237998d4b458194994a3e2229e5"); |
|
|
value: "9f5c2dac8b544424b22248e87f78051d"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "a36bef05d3324491ac31fae24d5d622a"); |
|
|
value: "628547db204a4af09bed4562a5d4e8fd"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "8516c291b3ed4d5aba3a1a832535c4ae"); |
|
|
value: "27a58b61e45c44db907e467fb594cc66"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "d2500499b42341d784f5067aa91cf66d"); |
|
|
value: "78bde67297b24c9eada8402d3f94d52b"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
|
{ |
|
|
{ |
|
|
migrationBuilder.DropColumn( |
|
|
migrationBuilder.DropColumn( |
|
|
name: "IndexNum", |
|
|
name: "Place", |
|
|
table: "Set_PUB_NOT_SA_DETAIL"); |
|
|
table: "Set_PUB_SA_DETAIL"); |
|
|
|
|
|
|
|
|
migrationBuilder.DropColumn( |
|
|
migrationBuilder.DropColumn( |
|
|
name: "IndexNum", |
|
|
name: "Place", |
|
|
table: "Set_PUB_CAN_SA_DETAIL"); |
|
|
table: "Set_PUB_SA"); |
|
|
|
|
|
|
|
|
migrationBuilder.AddColumn<int>( |
|
|
migrationBuilder.DropColumn( |
|
|
name: "IndexNum", |
|
|
name: "Place", |
|
|
table: "Set_HBPO_SA_DETAIL", |
|
|
table: "Set_HBPO_SA_DETAIL"); |
|
|
type: "int", |
|
|
|
|
|
nullable: false, |
|
|
|
|
|
defaultValue: 0); |
|
|
|
|
|
|
|
|
|
|
|
migrationBuilder.AddColumn<int>( |
|
|
migrationBuilder.DropColumn( |
|
|
name: "IndexNum", |
|
|
name: "Place", |
|
|
table: "Set_BBAC_SA_DETAIL", |
|
|
table: "Set_HBPO_SA"); |
|
|
type: "int", |
|
|
|
|
|
nullable: false, |
|
|
migrationBuilder.DropColumn( |
|
|
defaultValue: 0); |
|
|
name: "Place", |
|
|
|
|
|
table: "Set_BBAC_SA_DETAIL"); |
|
|
|
|
|
|
|
|
|
|
|
migrationBuilder.AlterColumn<string>( |
|
|
|
|
|
name: "Site", |
|
|
|
|
|
table: "Set_HBPO_SA", |
|
|
|
|
|
type: "nvarchar(max)", |
|
|
|
|
|
nullable: true, |
|
|
|
|
|
oldClrType: typeof(string), |
|
|
|
|
|
oldType: "nvarchar(64)", |
|
|
|
|
|
oldMaxLength: 64, |
|
|
|
|
|
oldNullable: true); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|
|
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "99884a6a7033490bbc93b2ffcf1212fe"); |
|
|
value: "b3c6a359087b41e4b586c8c172efae5d"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|
|
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "d6b499590a7f4d738e6d4d53cbae1419"); |
|
|
value: "a37556b1d5ab4bc5b0cf1c1622eefff3"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|
|
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "708a84b07be44ee99c1e70fe0f42820e"); |
|
|
value: "b2fdf754c09d4f3f816a378f71b76b6f"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|
|
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "b80a98f0c7154dfeb56c387e2e22c482"); |
|
|
value: "65b4aa76401a4f1ab800dc8b1702f0b9"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|
|
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "787cc284e9db4280a35d2ee3d71c0822"); |
|
|
value: "136aad88976d4bf9b58a6e3586ca9fe1"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|
|
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "32e17d97277a40b991b7f54e22668bac"); |
|
|
value: "017827b08deb447ab5729a69e06d31dd"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|
|
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "a0869b3e24eb4620bd5f01db384652ac"); |
|
|
value: "289386fefb924a41afcc768204745473"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|
|
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "8b15dfbd04ac49f2b52a3db7d7ebe9ed"); |
|
|
value: "30329237998d4b458194994a3e2229e5"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|
|
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "5da31dc2347145acbc2b660c3adbb582"); |
|
|
value: "a36bef05d3324491ac31fae24d5d622a"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|
|
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "0227468d6ab64b9c86ed33e7feaf88ae"); |
|
|
value: "8516c291b3ed4d5aba3a1a832535c4ae"); |
|
|
|
|
|
|
|
|
migrationBuilder.UpdateData( |
|
|
migrationBuilder.UpdateData( |
|
|
table: "Set_JobItem", |
|
|
table: "Set_JobItem", |
|
|
keyColumn: "Id", |
|
|
keyColumn: "Id", |
|
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|
|
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|
|
column: "ConcurrencyStamp", |
|
|
column: "ConcurrencyStamp", |
|
|
value: "8934e9981b4041249cdeaf63ff00c468"); |
|
|
value: "d2500499b42341d784f5067aa91cf66d"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |