annotate models

This commit is contained in:
Arpit Jalan 2016-10-31 15:02:11 +05:30
parent 584dc63d13
commit e03c1e4cdf
10 changed files with 29 additions and 11 deletions

View File

@ -153,4 +153,6 @@ end
# version :integer default(1), not null
# created_at :datetime not null
# updated_at :datetime not null
# via_wizard :boolean default(FALSE), not null
# theme_id :string
#

View File

@ -160,5 +160,12 @@ end
#
# Indexes
#
# index_directory_items_on_days_visited (days_visited)
# index_directory_items_on_likes_given (likes_given)
# index_directory_items_on_likes_received (likes_received)
# index_directory_items_on_period_type_and_user_id (period_type,user_id) UNIQUE
# index_directory_items_on_post_count (post_count)
# index_directory_items_on_posts_read (posts_read)
# index_directory_items_on_topic_count (topic_count)
# index_directory_items_on_topics_entered (topics_entered)
#

View File

@ -53,4 +53,5 @@ end
# category_id :integer not null
# created_at :datetime
# updated_at :datetime
# path_whitelist :string
#

View File

@ -18,6 +18,10 @@ end
# link :string
# created_at :datetime not null
# updated_at :datetime not null
# avatar_url :string
# about_me :text
# location :string
# website :text
#
# Indexes
#

View File

@ -498,6 +498,9 @@ end
# grant_trust_level :integer
# incoming_email :string
# has_messages :boolean default(FALSE), not null
# flair_url :string
# flair_bg_color :string
# flair_color :string
#
# Indexes
#

View File

@ -285,6 +285,7 @@ end
# deleted_at :datetime
# deleted_by_id :integer
# invalidated_at :datetime
# moderator :boolean default(FALSE), not null
#
# Indexes
#

View File

@ -15,7 +15,7 @@ end
# external_username :string
# external_email :string
# external_name :string
# external_avatar_url :string
# external_avatar_url :string(1000)
#
# Indexes
#

View File

@ -69,16 +69,15 @@ end
# client_id :string not null
# key :string not null
# application_name :string not null
# read :boolean not null
# write :boolean not null
# push :boolean not null
# push_url :string
# created_at :datetime
# updated_at :datetime
# revoked_at :datetime
# scopes :text default([]), not null, is an Array
#
# Indexes
#
# index_user_api_keys_on_client_id (client_id)
# index_user_api_keys_on_client_id (client_id) UNIQUE
# index_user_api_keys_on_key (key) UNIQUE
# index_user_api_keys_on_user_id (user_id)
#

View File

@ -84,6 +84,7 @@ end
# payload_url :string not null
# content_type :integer default(1), not null
# last_delivery_status :integer default(1), not null
# status :integer default(1), not null
# secret :string default("")
# wildcard_web_hook :boolean default(FALSE), not null
# verify_certificate :boolean default(TRUE), not null

View File

@ -24,7 +24,7 @@ end
# web_hook_id :integer not null
# headers :string
# payload :text
# status :integer
# status :integer default(0)
# response_headers :string
# response_body :text
# duration :integer default(0)