diff options
-rw-r--r-- | app/models/incoming_message.rb | 42 | ||||
-rw-r--r-- | app/models/info_request.rb | 43 | ||||
-rw-r--r-- | app/models/purge_request.rb | 12 | ||||
-rw-r--r-- | app/models/user.rb | 50 |
4 files changed, 81 insertions, 66 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index 9dcd8c1bc..45e5a7012 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -1,24 +1,3 @@ -# == Schema Information -# Schema version: 108 -# -# Table name: incoming_messages -# -# id :integer not null, primary key -# info_request_id :integer not null -# created_at :datetime not null -# updated_at :datetime not null -# raw_email_id :integer not null -# cached_attachment_text_clipped :text -# cached_main_body_text_folded :text -# cached_main_body_text_unfolded :text -# sent_at :time -# subject :text -# mail_from_domain :text -# valid_to_reply_to :boolean -# last_parsed :datetime -# mail_from :text -# - # encoding: UTF-8 # models/incoming_message.rb: @@ -1142,3 +1121,24 @@ class IncomingMessage < ActiveRecord::Base end + +# == Schema Information +# +# Table name: incoming_messages +# +# id :integer not null, primary key +# info_request_id :integer not null +# created_at :datetime not null +# updated_at :datetime not null +# raw_email_id :integer not null +# cached_attachment_text_clipped :text +# cached_main_body_text_folded :text +# cached_main_body_text_unfolded :text +# subject :text +# mail_from_domain :text +# valid_to_reply_to :boolean +# last_parsed :datetime +# mail_from :text +# sent_at :datetime +# + diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 4a70e365d..a6e108970 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -1,24 +1,3 @@ -# == Schema Information -# Schema version: 108 -# -# Table name: info_requests -# -# id :integer not null, primary key -# title :text not null -# user_id :integer not null -# public_body_id :integer not null -# created_at :datetime not null -# updated_at :datetime not null -# described_state :string(255) not null -# awaiting_description :boolean default(FALSE), not null -# prominence :string(255) default("normal"), not null -# url_title :text not null -# law_used :string(255) default("foi"), not null -# allow_new_responses_from :string(255) default("anybody"), not null -# handle_rejected_responses :string(255) default("bounce"), not null -# idhash :string(255) not null -# - require 'digest/sha1' @@ -1072,3 +1051,25 @@ public end end end + +# == Schema Information +# +# Table name: info_requests +# +# id :integer not null, primary key +# title :text not null +# user_id :integer not null +# public_body_id :integer not null +# created_at :datetime not null +# updated_at :datetime not null +# described_state :string(255) not null +# awaiting_description :boolean default(FALSE), not null +# prominence :string(255) default("normal"), not null +# url_title :text not null +# law_used :string(255) default("foi"), not null +# allow_new_responses_from :string(255) default("anybody"), not null +# handle_rejected_responses :string(255) default("bounce"), not null +# idhash :string(255) not null +# attention_requested :boolean default(FALSE) +# + diff --git a/app/models/purge_request.rb b/app/models/purge_request.rb index 088d5b84b..69648d98a 100644 --- a/app/models/purge_request.rb +++ b/app/models/purge_request.rb @@ -37,3 +37,15 @@ end + +# == Schema Information +# +# Table name: purge_requests +# +# id :integer not null, primary key +# url :string(255) +# created_at :datetime not null +# model :string(255) not null +# model_id :integer not null +# + diff --git a/app/models/user.rb b/app/models/user.rb index 4a7153b3f..d8a307f5e 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,27 +1,3 @@ -# == Schema Information -# Schema version: 108 -# -# Table name: users -# -# id :integer not null, primary key -# email :string(255) not null -# name :string(255) not null -# hashed_password :string(255) not null -# salt :string(255) not null -# created_at :datetime not null -# updated_at :datetime not null -# email_confirmed :boolean default(FALSE), not null -# url_name :text not null -# last_daily_track_email :datetime default(Sat Jan 01 00:00:00 UTC 2000) -# admin_level :string(255) default("none"), not null -# ban_text :text default(""), not null -# about_me :text default(""), not null -# locale :string(255) -# email_bounced_at :datetime -# email_bounce_message :text default(""), not null -# no_limit :boolean default(FALSE), not null -# - # models/user.rb: # Model of people who use the site to file requests, make comments etc. # @@ -441,3 +417,29 @@ class User < ActiveRecord::Base end end + +# == Schema Information +# +# Table name: users +# +# id :integer not null, primary key +# email :string(255) not null +# name :string(255) not null +# hashed_password :string(255) not null +# salt :string(255) not null +# created_at :datetime not null +# updated_at :datetime not null +# email_confirmed :boolean default(FALSE), not null +# url_name :text not null +# last_daily_track_email :datetime default(Sat Jan 01 00:00:00 UTC 2000) +# admin_level :string(255) default("none"), not null +# ban_text :text default(""), not null +# about_me :text default(""), not null +# locale :string(255) +# email_bounced_at :datetime +# email_bounce_message :text default(""), not null +# no_limit :boolean default(FALSE), not null +# receive_email_alerts :boolean default(TRUE), not null +# user_similarity_id :integer +# + |