Skip to content

Commit dc676cd

Browse files
committed
Add SQL to remove legacy orphan workbook rows
1 parent 9ff9147 commit dc676cd

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Cleanup legacy orphan rows
2+
delete from laboratory.workbooks WHERE (SELECT c.entityid from core.containers c where c.entityid = container) is null;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Cleanup legacy orphan rows
2+
delete from laboratory.workbooks WHERE (SELECT c.entityid from core.containers c where c.entityid = container) is null;

laboratory/src/org/labkey/laboratory/LaboratoryModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public String getName()
7777
@Override
7878
public @Nullable Double getSchemaVersion()
7979
{
80-
return 12.304;
80+
return 12.305;
8181
}
8282

8383
@Override

0 commit comments

Comments
 (0)