diff --git a/app/models/application_request.rb b/app/models/application_request.rb index 594f0b5a93a..36610234755 100644 --- a/app/models/application_request.rb +++ b/app/models/application_request.rb @@ -84,3 +84,16 @@ class ApplicationRequest < ActiveRecord::Base end +# == Schema Information +# +# Table name: application_requests +# +# id :integer not null, primary key +# date :date not null +# req_type :integer not null +# count :integer default(0), not null +# +# Indexes +# +# index_application_requests_on_date_and_req_type (date,req_type) UNIQUE +# diff --git a/app/models/topic_custom_field.rb b/app/models/topic_custom_field.rb index e495dd24c4a..22685679d7d 100644 --- a/app/models/topic_custom_field.rb +++ b/app/models/topic_custom_field.rb @@ -16,4 +16,5 @@ end # Indexes # # index_topic_custom_fields_on_topic_id_and_name (topic_id,name) +# index_topic_custom_fields_on_value (value) # diff --git a/app/models/topic_user.rb b/app/models/topic_user.rb index 3347695d582..d0255e1b90d 100644 --- a/app/models/topic_user.rb +++ b/app/models/topic_user.rb @@ -340,6 +340,8 @@ end # cleared_pinned_at :datetime # id :integer not null, primary key # last_emailed_post_number :integer +# liked :boolean default(FALSE) +# bookmarked :boolean default(FALSE) # # Indexes # diff --git a/app/models/user_export.rb b/app/models/user_export.rb index b69a98a27cb..2895c48ff97 100644 --- a/app/models/user_export.rb +++ b/app/models/user_export.rb @@ -32,9 +32,9 @@ end # # Table name: user_exports # -# id :integer not null, primary key -# file_name :string(255) not null -# user_id :integer not null -# created_at :datetime -# updated_at :datetime +# id :integer not null, primary key +# file_name :string(255) not null +# user_id :integer not null +# created_at :datetime +# updated_at :datetime # diff --git a/app/models/user_field.rb b/app/models/user_field.rb index b87fd35b0cc..7ca0c997e90 100644 --- a/app/models/user_field.rb +++ b/app/models/user_field.rb @@ -6,12 +6,13 @@ end # # Table name: user_fields # -# id :integer not null, primary key -# name :string(255) not null -# field_type :string(255) not null -# created_at :datetime -# updated_at :datetime -# editable :boolean default(FALSE), not null -# description :string(255) not null -# required :boolean default(TRUE), not null +# id :integer not null, primary key +# name :string(255) not null +# field_type :string(255) not null +# created_at :datetime +# updated_at :datetime +# editable :boolean default(FALSE), not null +# description :string(255) not null +# required :boolean default(TRUE), not null +# show_on_profile :boolean default(FALSE), not null #