Skip to content

Commit e17d618

Browse files
authored
Drop redundant indices (#1199) (#1200)
1 parent 907f632 commit e17d618

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- Dropping idx_instrumentusagepayment_instrumentscheduleid [instrumentScheduleId] because it overlaps with pk_instrumentusagepayment [instrumentScheduleId, paymentMethod]
2+
DROP INDEX targetedms.idx_instrumentusagepayment_instrumentscheduleid;
3+
-- Dropping ix_qcannotationtype_container [Container] because it overlaps with uq_qcannotationtype_containername [Container, Name]
4+
DROP INDEX targetedms.ix_qcannotationtype_container;
5+
-- Dropping ix_precursor_id [Id] because it overlaps with pk_precursor_id [Id]
6+
DROP INDEX targetedms.ix_precursor_id;
7+
-- Dropping ix_qcmetricexclusion_replicateid [ReplicateId] because it overlaps with uq_qcmetricexclusion_replicate_metric [ReplicateId, MetricId]
8+
DROP INDEX targetedms.ix_qcmetricexclusion_replicateid;
9+
-- Dropping ix_irtpeptide_irtscaleid [iRTScaleId] because it overlaps with uq_irtpeptide_sequenceandscale [iRTScaleId, ModifiedSequence]
10+
DROP INDEX targetedms.ix_irtpeptide_irtscaleid;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- When reparenting the QCEmailNotifications table from PanoramaPremium schema to targetedms, an attempt was made to
2+
-- drop this index, but the attempt failed because it targeted the old schema. This index is redundant with
3+
-- IX_qcEmailNotifications_Container.
4+
DROP INDEX IF EXISTS targetedms.IX_PanoramaPremium_qcEmailNotifications_Container;

src/org/labkey/targetedms/TargetedMSModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public String getName()
231231
@Override
232232
public Double getSchemaVersion()
233233
{
234-
return 26.004;
234+
return 26.006;
235235
}
236236

237237
@Override

0 commit comments

Comments
 (0)