Skip to content

Commit

Permalink
Add edition ID index on entity table
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann committed Jan 7, 2025
1 parent 39ca6a4 commit ec6a18e
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 ec6a18e

Please sign in to comment.