Skip to content

Commit

Permalink
Index updates
Browse files Browse the repository at this point in the history
  • Loading branch information
markquintontulloch committed Nov 5, 2024
1 parent 7a42178 commit 9f43e5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
@Index(name = "predictedvariantconsequence_polyphenprediction_index", columnList = "polyphenprediction_id"),
@Index(name = "predictedvariantconsequence_siftprediction_index", columnList = "siftprediction_id"),
@Index(name = "predictedvariantconsequence_createdby_index", columnList = "createdby_id"),
@Index(name = "predictedvariantconsequence_updatedby_index", columnList = "updatedby_id")
@Index(name = "predictedvariantconsequence_updatedby_index", columnList = "updatedby_id"),
@Index(name = "predictedvariantconsequence_hgvsproteinnomenclature_index", columnList = "hgvsProteinNomenclature"),
@Index(name = "predictedvariantconsequence_hgvscodingnomenclature_index", columnList = "hgvsCodingNomenclature"),
@Index(name = "predictedvariantconsequence_variantgenomiclocation_index", columnList = "variantGenomicLocation_id")
})
public class PredictedVariantConsequence extends AuditedObject {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ CREATE INDEX predictedvariantconsequence_polyphenprediction_index ON predictedva
CREATE INDEX predictedvariantconsequence_siftprediction_index ON predictedvariantconsequence USING btree (siftprediction_id);
CREATE INDEX predictedvariantconsequence_createdby_index ON predictedvariantconsequence USING btree (createdby_id);
CREATE INDEX predictedvariantconsequence_updatedby_index ON predictedvariantconsequence USING btree (updatedby_id);
CREATE INDEX predictedvariantconsequence_hgvsproteinnomenclature_index ON predictedvariantconsequence USING btree (hgvsProteinNomenclature);
CREATE INDEX predictedvariantconsequence_hgvscodingnomenclature_index ON predictedvariantconsequence USING btree (hgvsCodingNomenclature);
CREATE INDEX predictedvariantconsequence_variantgenomiclocation_index ON predictedvariantconsequence USING btree (variantGenomicLocation_id);

ALTER TABLE ONLY predictedvariantconsequence ADD CONSTRAINT predictedvariantconsequence_createdby_id_fk FOREIGN KEY (createdby_id) REFERENCES person(id);
ALTER TABLE ONLY predictedvariantconsequence ADD CONSTRAINT predictedvariantconsequence_updatedby_id_fk FOREIGN KEY (updatedby_id) REFERENCES person(id);
Expand Down

0 comments on commit 9f43e5d

Please sign in to comment.