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

@ -81,5 +81,6 @@ 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

@ -452,16 +452,16 @@ end
# deleted_by_id :integer # deleted_by_id :integer
# 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
# disagreed_at :datetime # disagreed_at :datetime
# disagreed_by_id :integer # disagreed_by_id :integer
# #
# 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

@ -6,16 +6,16 @@ end
# #
# Table name: single_sign_on_records # Table name: single_sign_on_records
# #
# id :integer not null, primary key # id :integer not null, primary key
# user_id :integer not null # user_id :integer not null
# external_id :string(255) not null # external_id :string(255) not null
# last_payload :text not null # last_payload :text not null
# created_at :datetime # created_at :datetime
# updated_at :datetime # updated_at :datetime
# external_username :string(255) # external_username :string(255)
# external_email :string(255) # external_email :string(255)
# external_name :string(255) # external_name :string(255)
# external_avatar_url :string(255) # external_avatar_url :string(255)
# #
# Indexes # Indexes
# #

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