Update annotations.

This commit is contained in:
Guo Xiang Tan 2019-04-09 13:27:22 +08:00
parent f6db30a5da
commit 28d117898f
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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)
#

View File

@ -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)
#