Annotate models.
This commit is contained in:
parent
0bd480c600
commit
a7a5f90e20
|
@ -733,6 +733,7 @@ end
|
|||
# minimum_required_tags :integer default(0), not null
|
||||
# navigate_to_first_post_after_read :boolean default(FALSE), not null
|
||||
# search_priority :integer default(0)
|
||||
# allow_global_tags :boolean default(FALSE), not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
|
|
|
@ -1552,4 +1552,5 @@ end
|
|||
# index_topics_on_lower_title (lower((title)::text))
|
||||
# index_topics_on_pinned_at (pinned_at) WHERE (pinned_at IS NOT NULL)
|
||||
# index_topics_on_pinned_globally (pinned_globally) WHERE pinned_globally
|
||||
# index_topics_on_updated_at_public (updated_at,visible,highest_staff_post_number,highest_post_number,category_id,created_at,id) WHERE (((archetype)::text <> 'private_message'::text) AND (deleted_at IS NULL))
|
||||
#
|
||||
|
|
|
@ -428,9 +428,10 @@ end
|
|||
#
|
||||
# Indexes
|
||||
#
|
||||
# idx_unique_rows (action_type,user_id,target_topic_id,target_post_id,acting_user_id) UNIQUE
|
||||
# idx_user_actions_speed_up_user_all (user_id,created_at,action_type)
|
||||
# index_user_actions_on_acting_user_id (acting_user_id)
|
||||
# index_user_actions_on_target_post_id (target_post_id)
|
||||
# index_user_actions_on_user_id_and_action_type (user_id,action_type)
|
||||
# idx_unique_rows (action_type,user_id,target_topic_id,target_post_id,acting_user_id) UNIQUE
|
||||
# idx_user_actions_speed_up_user_all (user_id,created_at,action_type)
|
||||
# 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_user_id_and_action_type (user_id,action_type)
|
||||
#
|
||||
|
|
|
@ -204,5 +204,5 @@ end
|
|||
# flags_agreed :integer default(0), not null
|
||||
# flags_disagreed :integer default(0), not null
|
||||
# flags_ignored :integer default(0), not null
|
||||
# first_unread_at :datetime
|
||||
# first_unread_at :datetime not null
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue