annotations were out of date

This commit is contained in:
Sam 2014-03-20 15:35:51 +11:00
parent c240fb0d83
commit 5c148faeb9
10 changed files with 72 additions and 43 deletions

View File

@ -19,6 +19,5 @@ end
#
# Indexes
#
# index_badges_on_badge_type_id (badge_type_id)
# index_badges_on_name (name) UNIQUE
#

View File

@ -333,9 +333,9 @@ end
# created_at :datetime not null
# updated_at :datetime not null
# user_id :integer not null
# topics_year :integer
# topics_month :integer
# topics_week :integer
# topics_year :integer default(0)
# topics_month :integer default(0)
# topics_week :integer default(0)
# slug :string(255) not null
# description :text
# text_color :string(6) default("FFFFFF"), not null
@ -346,12 +346,17 @@ end
# latest_topic_id :integer
# position :integer
# parent_category_id :integer
# posts_year :integer
# posts_month :integer
# posts_week :integer
# posts_year :integer default(0)
# posts_month :integer default(0)
# posts_week :integer default(0)
# email_in :string(255)
# email_in_allow_strangers :boolean default(FALSE)
# topics_day :integer default(0)
# posts_day :integer default(0)
#
# Indexes
#
# index_categories_on_email_in (email_in) UNIQUE
# index_categories_on_forum_thread_count (topic_count)
# index_categories_on_name (name) UNIQUE
#

View File

@ -42,11 +42,13 @@ end
# reply_key :string(32)
# post_id :integer
# topic_id :integer
# skipped :boolean default(FALSE)
# skipped_reason :string(255)
#
# Indexes
#
# index_email_logs_on_created_at (created_at)
# index_email_logs_on_reply_key (reply_key)
# index_email_logs_on_skipped_and_created_at (skipped,created_at)
# index_email_logs_on_user_id_and_created_at (user_id,created_at)
#

View File

@ -540,6 +540,7 @@ end
#
# Indexes
#
# idx_posts_created_at_topic_id (created_at,topic_id)
# idx_posts_user_id_deleted_at (user_id)
# index_posts_on_reply_to_post_number (reply_to_post_number)
# index_posts_on_topic_id_and_post_number (topic_id,post_number) UNIQUE

View File

@ -1,3 +1,22 @@
class SingleSignOnRecord < ActiveRecord::Base
belongs_to :user
end
# == Schema Information
#
# Table name: single_sign_on_records
#
# id :integer not null, primary key
# user_id :integer not null
# external_id :string(255) not null
# last_payload :text not null
# created_at :datetime
# updated_at :datetime
# external_username :string(255)
# external_email :string(255)
# external_name :string(255)
#
# Indexes
#
# index_single_sign_on_records_on_external_id (external_id) UNIQUE
#

View File

@ -772,11 +772,12 @@ end
# deleted_by_id :integer
# participant_count :integer default(1)
# word_count :integer
# excerpt :string(1000)
#
# Indexes
#
# idx_topics_front_page (deleted_at,visible,archetype,category_id,id)
# idx_topics_user_id_deleted_at (user_id)
# index_forum_threads_on_bumped_at (bumped_at)
# index_topics_on_deleted_at_and_visible_and_archetype_and_id (deleted_at,visible,archetype,id)
# index_topics_on_id_and_deleted_at (id,deleted_at)
#

View File

@ -723,6 +723,9 @@ end
# uploaded_avatar_id :integer
# email_always :boolean default(FALSE), not null
# mailing_list_mode :boolean default(FALSE), not null
# primary_group_id :integer
# locale :string(10)
# profile_background :string(255)
#
# Indexes
#

View File

@ -22,5 +22,4 @@ end
# Indexes
#
# index_user_badges_on_badge_id_and_user_id (badge_id,user_id) UNIQUE
# index_user_badges_on_user_id (user_id)
#

View File

@ -109,6 +109,7 @@ end
# previous_value :text
# new_value :text
# topic_id :integer
# admin_only :boolean default(FALSE)
#
# Indexes
#
@ -117,4 +118,3 @@ end
# index_staff_action_logs_on_target_user_id_and_id (target_user_id,id)
# index_user_histories_on_acting_user_id_and_action_and_id (acting_user_id,action,id)
#

View File

@ -93,5 +93,5 @@ end
# likes_given :integer default(0), not null
# likes_received :integer default(0), not null
# topic_reply_count :integer default(0), not null
# new_since :datetime not null
#