Updated model anotations

This commit is contained in:
Neil Lalonde 2014-08-22 13:01:44 -04:00
parent 7756b72a59
commit 5454c1ed24
5 changed files with 18 additions and 16 deletions

View File

@ -387,6 +387,7 @@ end
# logo_url :string(255) # logo_url :string(255)
# background_url :string(255) # background_url :string(255)
# allow_badges :boolean default(TRUE), not null # allow_badges :boolean default(TRUE), not null
# name_lower :string(50) not null
# #
# Indexes # Indexes
# #

View File

@ -82,4 +82,5 @@ end
# Indexes # Indexes
# #
# index_email_tokens_on_token (token) UNIQUE # index_email_tokens_on_token (token) UNIQUE
# index_email_tokens_on_user_id (user_id)
# #

View File

@ -453,7 +453,7 @@ end
# related_post_id :integer # related_post_id :integer
# staff_took_action :boolean default(FALSE), not null # staff_took_action :boolean default(FALSE), not null
# deferred_by_id :integer # deferred_by_id :integer
# targets_topic :boolean default(FALSE) # targets_topic :boolean default(FALSE), not null
# agreed_at :datetime # agreed_at :datetime
# agreed_by_id :integer # agreed_by_id :integer
# deferred_at :datetime # deferred_at :datetime
@ -462,6 +462,6 @@ end
# #
# Indexes # Indexes
# #
# idx_unique_actions (user_id,post_action_type_id,post_id,deleted_at,targets_topic) UNIQUE # idx_unique_actions (user_id,post_action_type_id,post_id,targets_topic) UNIQUE
# index_post_actions_on_post_id (post_id) # index_post_actions_on_post_id (post_id)
# #

View File

@ -769,7 +769,7 @@ end
# email :string(256) not null # email :string(256) not null
# password_hash :string(64) # password_hash :string(64)
# salt :string(32) # salt :string(32)
# active :boolean # active :boolean default(FALSE), not null
# username_lower :string(60) not null # username_lower :string(60) not null
# auth_token :string(32) # auth_token :string(32)
# last_seen_at :datetime # last_seen_at :datetime