Skip to content

Commit eafd517

Browse files
Merge 25.7 to 25.11
2 parents e63b088 + 4bafb75 commit eafd517

File tree

4 files changed

+29
-7
lines changed

4 files changed

+29
-7
lines changed

snprc_ehr/resources/etls/SndPackagesAndSuperPkgs.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
<description>Copy to Staging table</description>
3434
<source schemaName="snprcSrc" queryName="v_sndGetAllSuperPkgs" />
3535
<destination schemaName="snprc_ehr" queryName="SndSuperPackageStaging" bulkLoad="true" targetOption="merge">
36-
<alternateKeys>
37-
<column name="TopLevelPkgId"/>
38-
<column name = "SuperPkgId"/>
39-
<column name="ObjectId"/>
40-
</alternateKeys>
4136
<columnTransforms>
4237
<column source="createdBy" target="createdBy" transformClass="org.labkey.snprc_ehr.columnTransforms.UserTransform"/>
4338
<column source="modifiedBy" target="modifiedBy" transformClass="org.labkey.snprc_ehr.columnTransforms.UserTransform"/>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
EXEC core.fn_dropifexists @objname = 'SndSuperPackageStaging', @objschema = 'snprc_ehr', @objtype = 'TABLE';
2+
3+
CREATE TABLE snprc_ehr.SndSuperPackageStaging
4+
(
5+
TopLevelPkgId INTEGER NOT NULL,
6+
SuperPkgId INTEGER NOT NULL,
7+
ParentSuperPkgId INTEGER NULL,
8+
PkgId INTEGER NOT NULL,
9+
TreePath VARCHAR(800) NOT NULL,
10+
SuperPkgPath VARCHAR(MAX) NOT NULL,
11+
SortOrder INTEGER NULL,
12+
Required INTEGER NULL,
13+
Description VARCHAR(MAX) NOT NULL,
14+
Narrative VARCHAR(MAX) NOT NULL,
15+
Active INTEGER NOT NULL,
16+
Repeatable INTEGER NOT NULL,
17+
Level INTEGER NOT NULL,
18+
Created DATETIME NOT NULL,
19+
CreatedBy USERID NOT NULL,
20+
Modified DATETIME NOT NULL,
21+
ModifiedBy USERID NOT NULL,
22+
diModified DATETIME NOT NULL,
23+
ObjectId UNIQUEIDENTIFIER NOT NULL
24+
25+
CONSTRAINT PK_SndSuperPackageStaging PRIMARY KEY CLUSTERED ( TopLevelPkgId, SuperPkgId, TreePath)
26+
);
27+
GO

snprc_ehr/resources/schemas/snprc_ehr.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2374,7 +2374,7 @@
23742374
</table>
23752375
<table tableName="SndSuperPackageStaging" tableDbType="TABLE" useColumnOrder="true">
23762376
<tableTitle>Super PackageStaging</tableTitle>
2377-
<pkColumnName>TopLevelPkgId, SuperPkgId</pkColumnName>
2377+
<pkColumnName>TopLevelPkgId, SuperPkgId, TreePath</pkColumnName>
23782378
<columns>
23792379
<column columnName="TopLevelPkgId"/>
23802380
<column columnName="SuperPkgId"/>

snprc_ehr/src/org/labkey/snprc_ehr/SNPRC_EHRModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public String getName()
118118
@Override
119119
public @Nullable Double getSchemaVersion()
120120
{
121-
return 25.000;
121+
return 25.001;
122122
}
123123

124124
@Override

0 commit comments

Comments
 (0)