diff --git a/elispotassay/resources/schemas/dbscripts/postgresql/elispotlk-0.00-18.30.sql b/elispotassay/resources/schemas/dbscripts/postgresql/elispotlk-0.00-18.30.sql
index 76f40b6e3f..bc8dcb213c 100644
--- a/elispotassay/resources/schemas/dbscripts/postgresql/elispotlk-0.00-18.30.sql
+++ b/elispotassay/resources/schemas/dbscripts/postgresql/elispotlk-0.00-18.30.sql
@@ -14,12 +14,7 @@
* limitations under the License.
*/
-/* elispotlk-15.10-15.20.sql */
-
CREATE SCHEMA elispotlk;
--- Until 21.11.5, the elispotassay module did not claim ownership of the "elispotantigen" schema. So, deleting that
--- module and its schema would leave "elispotantigen" behind and any subsequent bootstrap would fail. See #44610.
-SELECT core.fn_dropIfExists('*', 'elispotantigen', 'SCHEMA', NULL);
CREATE SCHEMA elispotantigen;
CREATE TABLE elispotlk.rundata
@@ -51,33 +46,5 @@ CREATE TABLE elispotlk.rundata
CREATE INDEX idx_elispotrundata_runid ON elispotlk.rundata(RunId);
-INSERT INTO elispotlk.rundata (RunId, Specimenlsid, SpotCount, WellgroupName, WellgroupLocation, NormalizedSpotCount, AntigenWellgroupName, ObjectUri, ObjectId)
-SELECT
- RunId,SpecimenLSID, SpotCount, WellGroupName, WellgroupLocation, NormalizedSpotCount,
- CASE WHEN AntigenWellgroupNameTemp IS NULL THEN AntigenName ELSE AntigenWellgroupNameTemp END AS AntigenWellgroupName,
- ObjectURI, ObjectId
-FROM (
- SELECT
- (SELECT RunId FROM exp.Data d, exp.Object parent WHERE d.LSID = parent.ObjectURI and parent.ObjectId = o.OwnerObjectId) AS RunId,
-
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:SpecimenLsid' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS SpecimenLSID,
- (SELECT FloatValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:SpotCount' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS SpotCount,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:WellgroupName' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS WellGroupName,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:WellgroupLocation' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS WellgroupLocation,
- (SELECT FloatValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:NormalizedSpotCount' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS NormalizedSpotCount,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:AntigenWellgroupName' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS AntigenWellgroupNameTemp,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:AntigenName' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS AntigenName,
- ObjectURI,
- ObjectId
- FROM exp.Object o WHERE ObjectURI LIKE '%ElispotAssayDataRow%') x
- WHERE specimenlsid IS NOT NULL AND RunID IS NOT NULL;
-
ALTER TABLE elispotlk.rundata ADD COLUMN Cytokine VARCHAR(4000);
-ALTER TABLE elispotlk.rundata ADD COLUMN SpotSize REAL;
\ No newline at end of file
+ALTER TABLE elispotlk.rundata ADD COLUMN SpotSize REAL;
diff --git a/elispotassay/resources/schemas/dbscripts/postgresql/elispotlk-25.000-25.001.sql b/elispotassay/resources/schemas/dbscripts/postgresql/elispotlk-25.000-25.001.sql
new file mode 100644
index 0000000000..059759716a
--- /dev/null
+++ b/elispotassay/resources/schemas/dbscripts/postgresql/elispotlk-25.000-25.001.sql
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2015-2018 LabKey Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+-- Drop unused column
+ALTER TABLE elispotlk.rundata DROP COLUMN ObjectId;
diff --git a/elispotassay/resources/schemas/dbscripts/sqlserver/elispotlk-0.00-18.30.sql b/elispotassay/resources/schemas/dbscripts/sqlserver/elispotlk-0.00-18.30.sql
index e6c2152324..5ee6c03553 100644
--- a/elispotassay/resources/schemas/dbscripts/sqlserver/elispotlk-0.00-18.30.sql
+++ b/elispotassay/resources/schemas/dbscripts/sqlserver/elispotlk-0.00-18.30.sql
@@ -14,14 +14,8 @@
* limitations under the License.
*/
-/* elispotlk-15.10-15.20.sql */
-
CREATE SCHEMA elispotlk;
GO
--- Until 21.11.5, the elispotassay module did not claim ownership of the "elispotantigen" schema. So, deleting that
--- module and its schema would leave "elispotantigen" behind and any subsequent bootstrap would fail. See #44610.
-EXEC core.fn_dropIfExists '*', 'elispotantigen', 'SCHEMA';
-GO
CREATE SCHEMA elispotantigen;
GO
@@ -54,33 +48,5 @@ CREATE TABLE elispotlk.rundata
CREATE INDEX idx_elispotrundata_runid ON elispotlk.rundata(RunId);
-INSERT INTO elispotlk.rundata (RunId, Specimenlsid, SpotCount, WellgroupName, WellgroupLocation, NormalizedSpotCount, AntigenWellgroupName, ObjectUri, ObjectId)
-SELECT
- RunId,SpecimenLSID, SpotCount, WellGroupName, WellgroupLocation, NormalizedSpotCount,
- CASE WHEN AntigenWellgroupNameTemp IS NULL THEN AntigenName ELSE AntigenWellgroupNameTemp END AS AntigenWellgroupName,
- ObjectURI, ObjectId
-FROM (
- SELECT
- (SELECT RunId FROM exp.Data d, exp.Object parent WHERE d.LSID = parent.ObjectURI and parent.ObjectId = o.OwnerObjectId) AS RunId,
-
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:SpecimenLsid' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS SpecimenLSID,
- (SELECT FloatValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:SpotCount' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS SpotCount,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:WellgroupName' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS WellGroupName,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:WellgroupLocation' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS WellgroupLocation,
- (SELECT FloatValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:NormalizedSpotCount' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS NormalizedSpotCount,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:AntigenWellgroupName' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS AntigenWellgroupNameTemp,
- (SELECT StringValue FROM exp.ObjectProperty op, exp.PropertyDescriptor pd
- WHERE pd.PropertyURI LIKE '%:AntigenName' AND op.PropertyId = pd.PropertyId AND op.ObjectId = o.ObjectId) AS AntigenName,
- ObjectURI,
- ObjectId
- FROM exp.Object o WHERE ObjectURI LIKE '%ElispotAssayDataRow%') x
- WHERE specimenlsid IS NOT NULL AND RunID IS NOT NULL;
-
ALTER TABLE elispotlk.rundata ADD Cytokine NVARCHAR(4000);
-ALTER TABLE elispotlk.rundata ADD SpotSize REAL;
\ No newline at end of file
+ALTER TABLE elispotlk.rundata ADD SpotSize REAL;
diff --git a/elispotassay/resources/schemas/dbscripts/sqlserver/elispotlk-25.000-25.001.sql b/elispotassay/resources/schemas/dbscripts/sqlserver/elispotlk-25.000-25.001.sql
new file mode 100644
index 0000000000..059759716a
--- /dev/null
+++ b/elispotassay/resources/schemas/dbscripts/sqlserver/elispotlk-25.000-25.001.sql
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2015-2018 LabKey Corporation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+-- Drop unused column
+ALTER TABLE elispotlk.rundata DROP COLUMN ObjectId;
diff --git a/elispotassay/resources/schemas/elispotlk.xml b/elispotassay/resources/schemas/elispotlk.xml
index f5416e289e..88c7deff89 100644
--- a/elispotassay/resources/schemas/elispotlk.xml
+++ b/elispotassay/resources/schemas/elispotlk.xml
@@ -37,7 +37,6 @@