Skip to content

Commit c2f5775

Browse files
Remove support for SQLServer (#1121)
1 parent c1632ad commit c2f5775

24 files changed

+16
-6027
lines changed

module.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
ModuleClass: org.labkey.targetedms.TargetedMSModule
2-
SupportedDatabases: mssql, pgsql
32
ManageVersion: true

resources/queries/targetedms/PTMPercentsPrepivot.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SELECT ci.ModifiedAreaProportion,
99
ci.PeptideId.PeptideGroupId,
1010
psm.IndexAA,
1111
psm.StructuralModId,
12-
-- Explicitly cast for SQLServer to avoid trying to add as numeric types
12+
-- Explicitly cast to avoid trying to add as numeric types
1313
(SUBSTRING(ci.PeptideId.Sequence, IndexAA + 1, 1)) || CAST(ci.PeptideId.StartIndex + IndexAA + 1 AS VARCHAR) AS SiteLocation
1414
FROM
1515
targetedms.GeneralMoleculeChromInfo ci LEFT JOIN

resources/schemas/dbscripts/postgresql/targetedms-0.000-24.000.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3925,8 +3925,6 @@ ALTER TABLE targetedms.spectrumlibrary ALTER COLUMN FileNameHint TYPE VARCHAR(30
39253925
ALTER TABLE targetedms.IsotopeModification ALTER COLUMN AminoAcid TYPE VARCHAR(100);
39263926
ALTER TABLE targetedms.StructuralModification ALTER COLUMN AminoAcid TYPE VARCHAR(100);
39273927

3928-
SELECT core.executeJavaInitializationCode('recalculateAreaProportions');
3929-
39303928
ALTER TABLE targetedms.SampleFile ADD IRTSlope REAL;
39313929
ALTER TABLE targetedms.SampleFile ADD IRTIntercept REAL;
39323930
ALTER TABLE targetedms.SampleFile ADD IRTCorrelation REAL;
@@ -4151,9 +4149,6 @@ ALTER TABLE targetedms.ReplicateAnnotation DROP COLUMN source;
41514149

41524150
ALTER TABLE targetedms.QCAnnotation ADD COLUMN EndDate TIMESTAMP;
41534151

4154-
-- Poke a new row annotation type into the /Shared project
4155-
SELECT core.executeJavaInitializationCode('addInstrumentDowntimeAnnotationType');
4156-
41574152
UPDATE targetedms.QCMetricConfiguration SET EnabledQueryName = 'QCMetricEnabled_precursorAndTransitionAreas', EnabledSchemaName = 'targetedms' WHERE Name = 'Transition/Precursor Area Ratio';
41584153
UPDATE targetedms.QCMetricConfiguration SET EnabledQueryName = 'QCMetricEnabled_precursorAndTransitionAreas', EnabledSchemaName = 'targetedms' WHERE Name = 'Transition & Precursor Areas';
41594154
UPDATE targetedms.QCMetricConfiguration SET EnabledQueryName = 'QCMetricEnabled_precursorAndTransitionAreas', EnabledSchemaName = 'targetedms' WHERE Name = 'Total Peak Area (Precursor + Transition)';

0 commit comments

Comments
 (0)