annotate new indexes
This commit is contained in:
parent
e82b90d6ac
commit
c617e512ad
|
@ -263,5 +263,6 @@ end
|
|||
# idx_unique_flags (user_id,post_id,targets_topic) UNIQUE WHERE ((deleted_at IS NULL) AND (disagreed_at IS NULL) AND (deferred_at IS NULL) AND (post_action_type_id = ANY (ARRAY[3, 4, 7, 8])))
|
||||
# index_post_actions_on_post_action_type_id_and_disagreed_at (post_action_type_id,disagreed_at) WHERE (disagreed_at IS NULL)
|
||||
# index_post_actions_on_post_id (post_id)
|
||||
# index_post_actions_on_user_id (user_id)
|
||||
# index_post_actions_on_user_id_and_post_action_type_id (user_id,post_action_type_id) WHERE (deleted_at IS NULL)
|
||||
#
|
||||
|
|
|
@ -316,5 +316,6 @@ end
|
|||
# index_topic_links_on_link_post_id_and_reflection (link_post_id,reflection)
|
||||
# index_topic_links_on_post_id (post_id)
|
||||
# index_topic_links_on_topic_id (topic_id)
|
||||
# index_topic_links_on_user_id (user_id)
|
||||
# unique_post_links (topic_id,post_id,url) UNIQUE
|
||||
#
|
||||
|
|
|
@ -433,5 +433,6 @@ end
|
|||
# index_user_actions_on_acting_user_id (acting_user_id)
|
||||
# index_user_actions_on_action_type_and_created_at (action_type,created_at)
|
||||
# index_user_actions_on_target_post_id (target_post_id)
|
||||
# index_user_actions_on_target_user_id (target_user_id) WHERE (target_user_id IS NOT NULL)
|
||||
# index_user_actions_on_user_id_and_action_type (user_id,action_type)
|
||||
#
|
||||
|
|
|
@ -16,3 +16,7 @@ end
|
|||
# created_at :datetime
|
||||
# path :string
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_user_auth_token_logs_on_user_id (user_id)
|
||||
#
|
||||
|
|
|
@ -15,4 +15,5 @@ end
|
|||
# Indexes
|
||||
#
|
||||
# index_user_uploads_on_upload_id_and_user_id (upload_id,user_id) UNIQUE
|
||||
# index_user_uploads_on_user_id_and_upload_id (user_id,upload_id)
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue