Skip to content

Commit a5696ab

Browse files
authored
Merge pull request #1027 from TechnologyEnhancedLearning/Develop/Fixes/TD-5358-pathology-script
Pathology Portal catalogue bug
2 parents 3dd2457 + 22e7f15 commit a5696ab

File tree

1 file changed

+17
-0
lines changed
  • WebAPI/LearningHub.Nhs.Database/Scripts/Post-Deploy/Scripts

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
BEGIN
3+
--Level 1 path
4+
update [resources].ResourceReference set Deleted=0 where NodePathId=3009 and ResourceId in (10494,4802,10520)
5+
update [hierarchy].[NodeResource] set VersionStatusId=2 where NodeId=1948 and ResourceId in (10494,4802,10520)
6+
update [hierarchy].[NodeResourceLookup] set Deleted=0 where NodeId=1948 and ResourceId in (10494,4802,10520)
7+
8+
9+
10+
11+
12+
--Work in progress path
13+
update [hierarchy].[NodeResource] set VersionStatusId=2 where NodeId=1914 and ResourceId in (16717,16718,4085,4091,10522,4086,10479,10491,10496,10481,10523,10519,4083,4087,10483,4079,4093,10510,10485,10484,10482,10518,10500,10515,10511,10508,10521,10493,10497,4089,4090,10480,4084,4088,4080,4081,10501,10517,10503,10476,10504,10502,4082,10486,10488,10478,4096,10514,10507,4076,4094,10499,10509,4180,4077,4092,14736,14631,14630,14592,14593,14737,14738,14922,14923,14924,14966,14967,14969,14968,17439,14970,15000,15001,14596,15428,14595,14629,7646,7645,7644,7640,7643,7641,7647,15129,11221,5455,10822,4919,10567,6552,5453,9622,9621,4298)
14+
update [resources].[ResourceReference] set Deleted = 0 where NodepathId=1781 and ResourceId in (16717,16718,4085,4091,10522,4086,10479,10491,10496,10481,10523,10519,4083,4087,10483,4079,4093,10510,10485,10484,10482,10518,10500,10515,10511,10508,10521,10493,10497,4089,4090,10480,4084,4088,4080,4081,10501,10517,10503,10476,10504,10502,4082,10486,10488,10478,4096,10514,10507,4076,4094,10499,10509,4180,4077,4092,14736,14631,14630,14592,14593,14737,14738,14922,14923,14924,14966,14967,14969,14968,17439,14970,15000,15001,14596,15428,14595,14629,7646,7645,7644,7640,7643,7641,7647,15129,11221,5455,10822,4919,10567,6552,5453,9622,9621,4298)
15+
update [hierarchy].[NodeResourceLookup] set Deleted=0 where NodeId=1914 and ResourceId in (16717,16718,4085,4091,10522,4086,10479,10491,10496,10481,10523,10519,4083,4087,10483,4079,4093,10510,10485,10484,10482,10518,10500,10515,10511,10508,10521,10493,10497,4089,4090,10480,4084,4088,4080,4081,10501,10517,10503,10476,10504,10502,4082,10486,10488,10478,4096,10514,10507,4076,4094,10499,10509,4180,4077,4092,14736,14631,14630,14592,14593,14737,14738,14922,14923,14924,14966,14967,14969,14968,17439,14970,15000,15001,14596,15428,14595,14629,7646,7645,7644,7640,7643,7641,7647,15129,11221,5455,10822,4919,10567,6552,5453,9622,9621,4298)
16+
17+
END

0 commit comments

Comments
 (0)