From 8ae8768cd352b2b85d61c4c04c0fc5caa82fcdbe Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 29 May 2019 12:02:50 +0200 Subject: [PATCH] Update annotations to show 'using' clause on indexes --- app/models/changeset.rb | 2 +- app/models/note_comment.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 2c4c6d85c..d57086a8e 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -14,7 +14,7 @@ # # Indexes # -# changesets_bbox_idx (min_lat,max_lat,min_lon,max_lon) +# changesets_bbox_idx (min_lat,max_lat,min_lon,max_lon) USING gist # changesets_closed_at_idx (closed_at) # changesets_created_at_idx (created_at) # changesets_user_id_created_at_idx (user_id,created_at) diff --git a/app/models/note_comment.rb b/app/models/note_comment.rb index 065c37a5c..388f890a6 100644 --- a/app/models/note_comment.rb +++ b/app/models/note_comment.rb @@ -13,7 +13,7 @@ # # Indexes # -# index_note_comments_on_body (to_tsvector('english'::regconfig, body)) +# index_note_comments_on_body (to_tsvector('english'::regconfig, body)) USING gin # index_note_comments_on_created_at (created_at) # note_comments_note_id_idx (note_id) # -- 2.39.5