Skip to content

Commit

Permalink
Update data in Actor Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
FirestarJes committed Feb 8, 2022
1 parent 74402c6 commit fc2262c
Show file tree
Hide file tree
Showing 9 changed files with 112 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,17 @@ limitations under the License.
<EmbeddedResource Include="Scripts\B-002\Seed\202201311106 RemoveGridAreaWithNoActor.sql" />
<EmbeddedResource Include="Scripts\T-001\Seed\202201311105 RemoveAssignedActorToGridArea.sql" />
<EmbeddedResource Include="Scripts\T-001\Seed\202201311106 RemoveGridAreaWithNoActor.sql" />
<EmbeddedResource Include="Scripts\T-001\Seed\202202081107 ChangeVoltActors.sql" />
<EmbeddedResource Include="Scripts\T-001\Seed\202202081140 AddBatmanActors.sql" />
<EmbeddedResource Include="Scripts\T-001\Seed\202202081157 AddBatmanGridAreas.sql" />
<EmbeddedResource Include="Scripts\T-001\Seed\202202081213 AddBatmanGridAreaLinks.sql" />
<EmbeddedResource Include="Scripts\U-001\Seed\202201311105 RemoveAssignedActorToGridArea.sql" />
<EmbeddedResource Include="Scripts\U-001\Seed\202201311104 RemoveAssignGridAreaToEnerginetActor.sql" />
<EmbeddedResource Include="Scripts\U-001\Seed\202201311106 RemoveGridAreaWithNoActor.sql" />
<EmbeddedResource Include="Scripts\U-001\Seed\202202081107 ChangeVoltActors.sql" />
<EmbeddedResource Include="Scripts\U-001\Seed\202202081140 AddBatmanActors.sql" />
<EmbeddedResource Include="Scripts\U-001\Seed\202202081157 AddBatmanGridAreas.sql" />
<EmbeddedResource Include="Scripts\U-001\Seed\202202081213 AddBatmanGridAreaLinks.sql" />
<None Remove="Scripts\B-002\Model\202201311000 Create GridAreaInfo Table.sql" />
<EmbeddedResource Include="Scripts\B-002\Model\202201311000 Create GridAreaInfo Table.sql" />
<None Remove="Scripts\B-002\Model\202201311001 Create GridArea View.sql" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
UPDATE ActorInfo
SET Id = '5806501c-d376-4859-8376-e2886ce36b90',
Name = 'Volt - DDM Test 1 -'
WHERE Id = 'f0cc5ecf-3401-4714-a1a1-1bfc3ce61f3d'

UPDATE ActorInfo
SET Id = 'a6e88928-58c3-458e-92bc-3f2a56dbd09a',
Name = 'Volt - DDM Test 2 -'
WHERE Id = 'a117349a-0265-4ce9-9303-a4f84bf0eb9c'

UPDATE ActorInfo
SET Id = '893ab294-59c1-4c81-add7-0ae7ef80912c',
Name = 'Volt - DDM Test 3 -'
WHERE Id = 'ab706fc7-8c51-4534-b350-aef85ef0accd'

UPDATE ActorInfo
SET Id = 'd2eabcd3-3ed1-4dea-a5be-f043b703dac0',
Name = 'Volt - DDM Test 4 -'
WHERE Id = 'e009b9b2-edce-4f74-b466-98d0bbb0a94a'

UPDATE ActorInfo
SET Id = '2ab0e215-537f-4de1-b609-09b9777e31dd',
Name = 'Volt - EZ Test 1 -'
WHERE Id = '25995e18-29f5-4f9b-b644-0b5dd876f30a'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'0a05bb66-42b8-4b71-affb-9a3716a94489', N'8200000002765', 1, N'DDM,MDR', 1, N'Batman - DDM Test 1 -')
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'31e83b3a-22d3-49ce-bdf1-2d456205f0d1', N'8200000003519', 1, N'DDM,MDR', 1, N'Batman - DDM Test 2 -')
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'55878bd4-ef25-4f2e-8ba8-b2f3cca962e6', N'8200000002727', 1, N'DDM,MDR', 1, N'Batman - DDM Test 3 -')
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'950af11e-85dd-49da-943f-491c7730ff7a', N'8200000005131', 1, N'DDM,MDR', 1, N'Batman - DDM Test 4 -')
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--Actor 8200000003519
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'c5ee11ed-1d93-439d-8c6d-fabf993c7a3c', 3, N'032', N'Batman - Grid Area 1 - ', N'DK1', 1, N'31e83b3a-22d3-49ce-bdf1-2d456205f0d1')

--Actor 8200000002727
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'31e25acd-7a93-4740-b5c6-e931785d5d38', 3, N'033', N'Batman - Grid Area 2 - ', N'DK1', 1, N'55878bd4-ef25-4f2e-8ba8-b2f3cca962e6')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'b128c1d9-1519-4d85-b675-38ae69d02206', 3, N'034', N'Batman - Grid Area 3 - ', N'DK1', 1, N'55878bd4-ef25-4f2e-8ba8-b2f3cca962e6')

--Actor 8200000005131
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'2aa10797-d52e-4d02-9a17-f52860fb94b8', 3, N'036', N'Batman - Grid Area 4 - ', N'DK1', 1, N'950af11e-85dd-49da-943f-491c7730ff7a')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'5327de58-cf1d-40a3-942f-98398a3594aa', 3, N'037', N'Batman - Grid Area 5 - ', N'DK1', 1, N'950af11e-85dd-49da-943f-491c7730ff7a')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'68e96f9b-5349-4a85-8d0e-c5fa4ba9299c', 3, N'038', N'Batman - Grid Area 6 - ', N'DK1', 1, N'950af11e-85dd-49da-943f-491c7730ff7a')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'be4dd3fa-b91e-4539-9868-0eaa1a0e4728', 3, N'039', N'Batman - Grid Area 7 - ', N'DK1', 1, N'950af11e-85dd-49da-943f-491c7730ff7a')
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SET IDENTITY_INSERT [dbo].[GridAreaLinkInfo] ON

INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'62c04451-1c60-4232-ab28-7f1c2fe3d5ed', N'c5ee11ed-1d93-439d-8c6d-fabf993c7a3c', 33)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'6d370cfc-9a04-4c1f-ad50-01aaafdff010', N'31e25acd-7a93-4740-b5c6-e931785d5d38', 34)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'6e1f4c37-8675-4dfa-9da0-3dd2f108280e', N'b128c1d9-1519-4d85-b675-38ae69d02206', 35)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'92a0ed58-61c9-44be-ac50-ab03ce5e8995', N'2aa10797-d52e-4d02-9a17-f52860fb94b8', 36)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'c3b3cf4d-3c26-4bad-8b71-a4ef8e03ab93', N'5327de58-cf1d-40a3-942f-98398a3594aa', 37)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'2e33853b-6857-4c27-a048-11a412d55bab', N'68e96f9b-5349-4a85-8d0e-c5fa4ba9299c', 38)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'69890200-cf13-4565-b284-c7c1e56f333d', N'be4dd3fa-b91e-4539-9868-0eaa1a0e4728', 39)

SET IDENTITY_INSERT [dbo].[GridAreaLinkInfo] OFF
GO
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
UPDATE ActorInfo
SET Id = 'b8f00060-e02a-4418-a1bd-963778473238',
Name = 'Volt - DDM Test 1 -'
WHERE Id = 'f0cc5ecf-3401-4714-a1a1-1bfc3ce61f3d'

UPDATE ActorInfo
SET Id = 'd49bc21d-87c0-426b-bd2d-a097a91de611',
Name = 'Volt - DDM Test 2 -'
WHERE Id = 'a117349a-0265-4ce9-9303-a4f84bf0eb9c'

UPDATE ActorInfo
SET Id = 'f718ac37-9b7f-42dc-943e-bd211ea044ff',
Name = 'Volt - DDM Test 3 -'
WHERE Id = 'ab706fc7-8c51-4534-b350-aef85ef0accd'

UPDATE ActorInfo
SET Id = 'a4abd4ad-4ff3-4e93-a86d-7b164910ca34',
Name = 'Volt - DDM Test 4 -'
WHERE Id = 'e009b9b2-edce-4f74-b466-98d0bbb0a94a'

UPDATE ActorInfo
SET Id = 'af450c03-1937-4ea1-bb66-17b6e4aa51f5',
Name = 'Volt - EZ Test 1 -'
WHERE Id = '25995e18-29f5-4f9b-b644-0b5dd876f30a'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'0fc7e028-3157-48f2-8744-5c23effe857d', N'8200000002765', 1, N'DDM,MDR', 1, N'Batman - DDM Test 1 -')
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'cb2266e1-7acd-49f7-95ae-858ef7800e39', N'8200000003519', 1, N'DDM,MDR', 1, N'Batman - DDM Test 2 -')
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'cddf2d12-3f02-4a52-b1c1-c0d4e03262c4', N'8200000002727', 1, N'DDM,MDR', 1, N'Batman - DDM Test 3 -')
INSERT [dbo].[ActorInfo] ([Id], [IdentificationNumber], [IdentificationType], [Roles], [Active], [Name]) VALUES (N'1e2cc2e8-670e-40fa-bfae-be0fec70e9aa', N'8200000005131', 1, N'DDM,MDR', 1, N'Batman - DDM Test 4 -')
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--Actor 8200000003519
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'c5ee11ed-1d93-439d-8c6d-fabf993c7a3c', 3, N'032', N'Batman - Grid Area 1 - ', N'DK1', 1, N'cb2266e1-7acd-49f7-95ae-858ef7800e39')

--Actor 8200000002727
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'31e25acd-7a93-4740-b5c6-e931785d5d38', 3, N'033', N'Batman - Grid Area 2 - ', N'DK1', 1, N'cddf2d12-3f02-4a52-b1c1-c0d4e03262c4')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'b128c1d9-1519-4d85-b675-38ae69d02206', 3, N'034', N'Batman - Grid Area 3 - ', N'DK1', 1, N'cddf2d12-3f02-4a52-b1c1-c0d4e03262c4')

--Actor 8200000005131
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'2aa10797-d52e-4d02-9a17-f52860fb94b8', 3, N'036', N'Batman - Grid Area 4 - ', N'DK1', 1, N'1e2cc2e8-670e-40fa-bfae-be0fec70e9aa')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'5327de58-cf1d-40a3-942f-98398a3594aa', 3, N'037', N'Batman - Grid Area 5 - ', N'DK1', 1, N'1e2cc2e8-670e-40fa-bfae-be0fec70e9aa')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'68e96f9b-5349-4a85-8d0e-c5fa4ba9299c', 3, N'038', N'Batman - Grid Area 6 - ', N'DK1', 1, N'1e2cc2e8-670e-40fa-bfae-be0fec70e9aa')
INSERT [dbo].[GridAreaInfo] ([Id], [RecordId], [Code], [Name], [PriceAreaCode], [Active], [ActorId]) VALUES (N'be4dd3fa-b91e-4539-9868-0eaa1a0e4728', 3, N'039', N'Batman - Grid Area 7 - ', N'DK1', 1, N'1e2cc2e8-670e-40fa-bfae-be0fec70e9aa')
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SET IDENTITY_INSERT [dbo].[GridAreaLinkInfo] ON

INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'62c04451-1c60-4232-ab28-7f1c2fe3d5ed', N'c5ee11ed-1d93-439d-8c6d-fabf993c7a3c', 33)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'6d370cfc-9a04-4c1f-ad50-01aaafdff010', N'31e25acd-7a93-4740-b5c6-e931785d5d38', 34)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'6e1f4c37-8675-4dfa-9da0-3dd2f108280e', N'b128c1d9-1519-4d85-b675-38ae69d02206', 35)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'92a0ed58-61c9-44be-ac50-ab03ce5e8995', N'2aa10797-d52e-4d02-9a17-f52860fb94b8', 36)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'c3b3cf4d-3c26-4bad-8b71-a4ef8e03ab93', N'5327de58-cf1d-40a3-942f-98398a3594aa', 37)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'2e33853b-6857-4c27-a048-11a412d55bab', N'68e96f9b-5349-4a85-8d0e-c5fa4ba9299c', 38)
INSERT [dbo].[GridAreaLinkInfo] ([GridLinkId], [GridAreaId], [RecordId]) VALUES (N'69890200-cf13-4565-b284-c7c1e56f333d', N'be4dd3fa-b91e-4539-9868-0eaa1a0e4728', 39)

SET IDENTITY_INSERT [dbo].[GridAreaLinkInfo] OFF
GO

0 comments on commit fc2262c

Please sign in to comment.