Update annotations.

Update annotations.

diff --git a/app/models/post.rb b/app/models/post.rb
index 2a6ce57..019d5d4 100644
--- a/app/models/post.rb
+++ b/app/models/post.rb
@@ -988,6 +988,7 @@ end
 #  idx_posts_created_at_topic_id             (created_at,topic_id) WHERE (deleted_at IS NULL)
 #  idx_posts_deleted_posts                   (topic_id,post_number) WHERE (deleted_at IS NOT NULL)
 #  idx_posts_user_id_deleted_at              (user_id) WHERE (deleted_at IS NULL)
+#  index_posts_on_id_and_baked_version       (id DESC,baked_version) WHERE (deleted_at IS NULL)
 #  index_posts_on_reply_to_post_number       (reply_to_post_number)
 #  index_posts_on_topic_id_and_percent_rank  (topic_id,percent_rank)
 #  index_posts_on_topic_id_and_post_number   (topic_id,post_number) UNIQUE
diff --git a/app/models/post_search_data.rb b/app/models/post_search_data.rb
index c30aa7a..7a873a5 100644
--- a/app/models/post_search_data.rb
+++ b/app/models/post_search_data.rb
@@ -14,5 +14,6 @@ end
 #
 # Indexes
 #
-#  idx_search_post  (search_data) USING gin
+#  idx_search_post                                           (search_data) USING gin
+#  index_post_search_data_on_post_id_and_version_and_locale  (post_id,version,locale)
 #
diff --git a/app/models/topic_search_data.rb b/app/models/topic_search_data.rb
index 7203a84..115570c 100644
--- a/app/models/topic_search_data.rb
+++ b/app/models/topic_search_data.rb
@@ -14,5 +14,6 @@ end
 #
 # Indexes
 #
-#  idx_search_topic  (search_data) USING gin
+#  idx_search_topic                                            (search_data) USING gin
+#  index_topic_search_data_on_topic_id_and_version_and_locale  (topic_id,version,locale)
 #

GitHub sha: 28d11789

1 Like