Skip to content

Commit

Permalink
Replace FK index on BLSubSample with compound index (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik authored Mar 5, 2024
1 parent 448f7cd commit 0747637
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_03_05_BLSubSample_replace_index.sql', 'ONGOING');

CREATE INDEX IF NOT EXISTS BLSubSample_blSampleId_source ON BLSubSample(blSampleId, source);
DROP INDEX IF EXISTS BLSubSample_FKIndex1 ON BLSubSample;

UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2024_03_05_BLSubSample_replace_index.sql';

0 comments on commit 0747637

Please sign in to comment.