Skip to content

Commit

Permalink
Add index med_chronicle_id_idx
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbellingham-hmcts committed Feb 10, 2025
1 parent 8eabe40 commit aa11874
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/db/reference/modernised_darts_indexes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
-- v9 add 2 event and 2 media indexes
-- v10 amend index on user_account from user_name to user_full_name
-- v11 add numerous indexes to accommodate all FKs
-- v12 add index on media for chronicle_id

SET ROLE DARTS_OWNER;
SET SEARCH_PATH TO darts;
Expand Down Expand Up @@ -310,5 +311,5 @@ CREATE INDEX cas_cn_trgm_idx ON court_case USING gin (case_number gin_trgm_ops);

CREATE INDEX ctr_cn_trgm_idx ON courtroom USING gin (courtroom_name gin_trgm_ops);



-- v12
CREATE INDEX med_chronicle_id_idx ON media (chronicle_id);

0 comments on commit aa11874

Please sign in to comment.