Skip to content

Commit c60022b

Browse files
hotfix/sql fix (#81)
Register the UPCI with the reference table when adding test records This allows the empty clusters to match up when testing the visualer application.
1 parent a4d0ed2 commit c60022b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FakeDataSeeder/Scripts/0001_Create_CreateDummyCandidate.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ BEGIN
106106
,@PrimaryRecord
107107
,CASE WHEN @PrimaryRecord = 'NOMIS' THEN @NomisNumber ELSE @Crn END);
108108

109+
INSERT INTO [reference].UPCI2 ( UPCI2 ) VALUES ( @Identifier )
110+
109111
IF(@RecordCount=2)
110112
BEGIN
111113
--Insert output.ClusterMembership table data

0 commit comments

Comments
 (0)