Update annotations.

This commit is contained in:
Guo Xiang Tan 2019-04-11 12:37:11 +08:00
parent 723feea832
commit d705dd8bb8
3 changed files with 3 additions and 0 deletions

View File

@ -999,6 +999,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_for_rebake_old (id) WHERE (((baked_version IS NULL) OR (baked_version < 2)) AND (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)

View File

@ -17,5 +17,6 @@ end
#
# idx_post_custom_fields_akismet (post_id) WHERE (((name)::text = 'AKISMET_STATE'::text) AND (value = 'needs_review'::text))
# index_post_custom_fields_on_name_and_value (name, "left"(value, 200))
# index_post_custom_fields_on_post_id (post_id) UNIQUE WHERE ((name)::text = 'missing uploads'::text)
# index_post_custom_fields_on_post_id_and_name (post_id,name)
#

View File

@ -29,4 +29,5 @@ end
# Indexes
#
# index_post_replies_on_post_id_and_reply_id (post_id,reply_id) UNIQUE
# index_post_replies_on_reply_id (reply_id)
#