DEV: model annotations

This commit is contained in:
Martin Brennan 2019-12-30 16:13:27 +10:00
parent dca99c0391
commit 473e39f4a4
4 changed files with 5 additions and 2 deletions

View File

@ -939,6 +939,6 @@ end
# index_categories_on_reviewable_by_group_id (reviewable_by_group_id) # index_categories_on_reviewable_by_group_id (reviewable_by_group_id)
# index_categories_on_search_priority (search_priority) # index_categories_on_search_priority (search_priority)
# index_categories_on_topic_count (topic_count) # index_categories_on_topic_count (topic_count)
# unique_index_categories_on_name ((COALESCE(parent_category_id, '-1'::integer)), name) UNIQUE # unique_index_categories_on_name (COALESCE(parent_category_id, '-1'::integer), name) UNIQUE
# unique_index_categories_on_slug ((COALESCE(parent_category_id, '-1'::integer)), slug) UNIQUE WHERE ((slug)::text <> ''::text) # unique_index_categories_on_slug (COALESCE(parent_category_id, '-1'::integer), slug) UNIQUE WHERE ((slug)::text <> ''::text)
# #

View File

@ -283,4 +283,5 @@ end
# index_invites_on_email_and_invited_by_id (email,invited_by_id) # index_invites_on_email_and_invited_by_id (email,invited_by_id)
# index_invites_on_emailed_status (emailed_status) # index_invites_on_emailed_status (emailed_status)
# index_invites_on_invite_key (invite_key) UNIQUE # index_invites_on_invite_key (invite_key) UNIQUE
# index_invites_on_invited_by_id (invited_by_id)
# #

View File

@ -192,6 +192,7 @@ end
# created_at :datetime not null # created_at :datetime not null
# updated_at :datetime not null # updated_at :datetime not null
# pm_topic_count :integer default(0), not null # pm_topic_count :integer default(0), not null
# target_tag_id :integer
# #
# Indexes # Indexes
# #

View File

@ -167,6 +167,7 @@ end
# profile_background_upload_id :integer # profile_background_upload_id :integer
# card_background_upload_id :integer # card_background_upload_id :integer
# granted_title_badge_id :bigint # granted_title_badge_id :bigint
# featured_topic_id :integer
# #
# Indexes # Indexes
# #