Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* Copyright (c) 2026 LabKey Corporation
*
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
*/

-- GitHub Issue 1499: Reset specimen base-column storage names that were uniquified with a numeric suffix but never became a physical column
UPDATE exp.propertydescriptor
SET storagecolumnname = exp.propertydescriptor.name
FROM exp.propertydomain pdm, exp.domaindescriptor dd
WHERE pdm.propertyid = exp.propertydescriptor.propertyid
AND dd.domainid = pdm.domainid
AND LOWER(dd.storageschemaname) = 'specimentables'
AND LOWER(exp.propertydescriptor.storagecolumnname) = LOWER(exp.propertydescriptor.name) || '1';
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* Copyright (c) 2026 LabKey Corporation
*
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
*/

-- GitHub Issue 1499: Reset specimen base-column storage names that were uniquified with a numeric suffix but never became a physical column
UPDATE exp.propertydescriptor
SET storagecolumnname = exp.propertydescriptor.name
FROM exp.propertydomain pdm, exp.domaindescriptor dd
WHERE pdm.propertyid = exp.propertydescriptor.propertyid
AND dd.domainid = pdm.domainid
AND LOWER(dd.storageschemaname) = 'specimentables'
AND LOWER(exp.propertydescriptor.storagecolumnname) = LOWER(exp.propertydescriptor.name) + '1';
2 changes: 1 addition & 1 deletion study/src/org/labkey/study/StudyModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public String getName()
@Override
public Double getSchemaVersion()
{
return 26.000;
return 26.001;
}

@Override
Expand Down