annotate models
This commit is contained in:
parent
584dc63d13
commit
e03c1e4cdf
|
@ -153,4 +153,6 @@ end
|
||||||
# version :integer default(1), not null
|
# version :integer default(1), not null
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
# via_wizard :boolean default(FALSE), not null
|
||||||
|
# theme_id :string
|
||||||
#
|
#
|
||||||
|
|
|
@ -160,5 +160,12 @@ end
|
||||||
#
|
#
|
||||||
# Indexes
|
# 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_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)
|
||||||
#
|
#
|
||||||
|
|
|
@ -53,4 +53,5 @@ end
|
||||||
# category_id :integer not null
|
# category_id :integer not null
|
||||||
# created_at :datetime
|
# created_at :datetime
|
||||||
# updated_at :datetime
|
# updated_at :datetime
|
||||||
|
# path_whitelist :string
|
||||||
#
|
#
|
||||||
|
|
|
@ -18,6 +18,10 @@ end
|
||||||
# link :string
|
# link :string
|
||||||
# created_at :datetime not null
|
# created_at :datetime not null
|
||||||
# updated_at :datetime not null
|
# updated_at :datetime not null
|
||||||
|
# avatar_url :string
|
||||||
|
# about_me :text
|
||||||
|
# location :string
|
||||||
|
# website :text
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -498,6 +498,9 @@ end
|
||||||
# grant_trust_level :integer
|
# grant_trust_level :integer
|
||||||
# incoming_email :string
|
# incoming_email :string
|
||||||
# has_messages :boolean default(FALSE), not null
|
# has_messages :boolean default(FALSE), not null
|
||||||
|
# flair_url :string
|
||||||
|
# flair_bg_color :string
|
||||||
|
# flair_color :string
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -285,6 +285,7 @@ end
|
||||||
# deleted_at :datetime
|
# deleted_at :datetime
|
||||||
# deleted_by_id :integer
|
# deleted_by_id :integer
|
||||||
# invalidated_at :datetime
|
# invalidated_at :datetime
|
||||||
|
# moderator :boolean default(FALSE), not null
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -15,7 +15,7 @@ end
|
||||||
# external_username :string
|
# external_username :string
|
||||||
# external_email :string
|
# external_email :string
|
||||||
# external_name :string
|
# external_name :string
|
||||||
# external_avatar_url :string
|
# external_avatar_url :string(1000)
|
||||||
#
|
#
|
||||||
# Indexes
|
# Indexes
|
||||||
#
|
#
|
||||||
|
|
|
@ -69,16 +69,15 @@ end
|
||||||
# client_id :string not null
|
# client_id :string not null
|
||||||
# key :string not null
|
# key :string not null
|
||||||
# application_name :string not null
|
# application_name :string not null
|
||||||
# read :boolean not null
|
|
||||||
# write :boolean not null
|
|
||||||
# push :boolean not null
|
|
||||||
# push_url :string
|
# push_url :string
|
||||||
# created_at :datetime
|
# created_at :datetime
|
||||||
# updated_at :datetime
|
# updated_at :datetime
|
||||||
|
# revoked_at :datetime
|
||||||
|
# scopes :text default([]), not null, is an Array
|
||||||
#
|
#
|
||||||
# Indexes
|
# 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_key (key) UNIQUE
|
||||||
# index_user_api_keys_on_user_id (user_id)
|
# index_user_api_keys_on_user_id (user_id)
|
||||||
#
|
#
|
||||||
|
|
|
@ -84,6 +84,7 @@ end
|
||||||
# payload_url :string not null
|
# payload_url :string not null
|
||||||
# content_type :integer default(1), not null
|
# content_type :integer default(1), not null
|
||||||
# last_delivery_status :integer default(1), not null
|
# last_delivery_status :integer default(1), not null
|
||||||
|
# status :integer default(1), not null
|
||||||
# secret :string default("")
|
# secret :string default("")
|
||||||
# wildcard_web_hook :boolean default(FALSE), not null
|
# wildcard_web_hook :boolean default(FALSE), not null
|
||||||
# verify_certificate :boolean default(TRUE), not null
|
# verify_certificate :boolean default(TRUE), not null
|
||||||
|
|
|
@ -24,7 +24,7 @@ end
|
||||||
# web_hook_id :integer not null
|
# web_hook_id :integer not null
|
||||||
# headers :string
|
# headers :string
|
||||||
# payload :text
|
# payload :text
|
||||||
# status :integer
|
# status :integer default(0)
|
||||||
# response_headers :string
|
# response_headers :string
|
||||||
# response_body :text
|
# response_body :text
|
||||||
# duration :integer default(0)
|
# duration :integer default(0)
|
||||||
|
|
Loading…
Reference in New Issue