Skip to content

Commit

Permalink
H-3702: Add edition ID index on entity table (#6086)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann authored and CiaranMn committed Jan 13, 2025
1 parent e8728d0 commit b2e60b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ CREATE TABLE entity_temporal_metadata (
CREATE INDEX entity_temporal_metadata_temporal_idx
ON entity_temporal_metadata
USING gist (web_id, entity_uuid, transaction_time, decision_time);
CREATE INDEX entity_temporal_metadata_edition_id_idx
ON entity_temporal_metadata (entity_edition_id);

CREATE TABLE entity_is_of_type (
entity_edition_id UUID NOT NULL REFERENCES entity_editions,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CREATE INDEX entity_temporal_metadata_edition_id_idx
ON entity_temporal_metadata (entity_edition_id);

0 comments on commit b2e60b6

Please sign in to comment.