mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 16:52:45 +08:00
DEV: Update annotations
This commit is contained in:
parent
d3e7768ea8
commit
7886a3e58a
|
@ -57,9 +57,11 @@ end
|
|||
# allowed_ips :inet is an Array
|
||||
# hidden :boolean default(FALSE), not null
|
||||
# last_used_at :datetime
|
||||
# revoked_at :datetime
|
||||
# description :text
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_api_keys_on_key (key)
|
||||
# index_api_keys_on_user_id (user_id) UNIQUE
|
||||
# index_api_keys_on_user_id (user_id)
|
||||
#
|
||||
|
|
|
@ -911,12 +911,13 @@ end
|
|||
# subcategory_list_style :string(50) default("rows_with_featured_topics")
|
||||
# default_top_period :string(20) default("all")
|
||||
# mailinglist_mirror :boolean default(FALSE), not null
|
||||
# suppress_from_latest :boolean default(FALSE)
|
||||
# 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
|
||||
# reviewable_by_group_id :integer
|
||||
# required_tag_group_id :integer
|
||||
# min_tags_from_required_group :integer default(1), not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
|
|
|
@ -236,10 +236,12 @@ end
|
|||
# id :integer not null, primary key
|
||||
# category_id :integer not null
|
||||
# user_id :integer not null
|
||||
# notification_level :integer not null
|
||||
# notification_level :integer
|
||||
# last_seen_at :datetime
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# idx_category_users_category_id_user_id (category_id,user_id) UNIQUE
|
||||
# idx_category_users_user_id_category_id (user_id,category_id) UNIQUE
|
||||
# idx_category_users_category_id_user_id (category_id,user_id) UNIQUE
|
||||
# idx_category_users_user_id_category_id (user_id,category_id) UNIQUE
|
||||
# index_category_users_on_user_id_and_last_seen_at (user_id,last_seen_at)
|
||||
#
|
||||
|
|
|
@ -162,18 +162,18 @@ end
|
|||
# views :integer default(0), not null
|
||||
# profile_background_upload_id :integer
|
||||
# card_background_upload_id :integer
|
||||
# granted_title_badge_id :integer
|
||||
# granted_title_badge_id :bigint
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_user_profiles_on_bio_cooked_version (bio_cooked_version)
|
||||
# index_user_profiles_on_card_background (card_background)
|
||||
# index_user_profiles_on_profile_background (profile_background)
|
||||
# index_user_profiles_on_granted_title_badge_id (granted_title_badge)
|
||||
# index_user_profiles_on_bio_cooked_version (bio_cooked_version)
|
||||
# index_user_profiles_on_card_background (card_background)
|
||||
# index_user_profiles_on_granted_title_badge_id (granted_title_badge_id)
|
||||
# index_user_profiles_on_profile_background (profile_background)
|
||||
#
|
||||
# Foreign Keys
|
||||
#
|
||||
# fk_rails_... (card_background_upload_id => uploads.id)
|
||||
# fk_rails_... (profile_background_upload_id => uploads.id)
|
||||
# fk_rails_... (granted_title_badge_id => badges.id)
|
||||
# fk_rails_... (profile_background_upload_id => uploads.id)
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user