aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/info_request_batch.rb7
-rw-r--r--app/models/request_classification.rb4
-rw-r--r--app/models/spam_address.rb10
-rw-r--r--app/models/user.rb37
4 files changed, 34 insertions, 24 deletions
diff --git a/app/models/info_request_batch.rb b/app/models/info_request_batch.rb
index 498ab4951..d7c5eb9af 100644
--- a/app/models/info_request_batch.rb
+++ b/app/models/info_request_batch.rb
@@ -1,13 +1,14 @@
# == Schema Information
-# Schema version: 20131024114346
#
# Table name: info_request_batches
#
# id :integer not null, primary key
# title :text not null
# user_id :integer not null
-# created_at :datetime
-# updated_at :datetime
+# created_at :datetime not null
+# updated_at :datetime not null
+# body :text
+# sent_at :datetime
#
class InfoRequestBatch < ActiveRecord::Base
diff --git a/app/models/request_classification.rb b/app/models/request_classification.rb
index 6873d468b..478a543d3 100644
--- a/app/models/request_classification.rb
+++ b/app/models/request_classification.rb
@@ -5,8 +5,8 @@
# id :integer not null, primary key
# user_id :integer
# info_request_event_id :integer
-# created_at :datetime
-# updated_at :datetime
+# created_at :datetime not null
+# updated_at :datetime not null
#
class RequestClassification < ActiveRecord::Base
diff --git a/app/models/spam_address.rb b/app/models/spam_address.rb
index 15c9d1ab8..b3ad329d8 100644
--- a/app/models/spam_address.rb
+++ b/app/models/spam_address.rb
@@ -1,3 +1,13 @@
+# == Schema Information
+#
+# Table name: spam_addresses
+#
+# id :integer not null, primary key
+# email :string(255) not null
+# created_at :datetime not null
+# updated_at :datetime not null
+#
+
class SpamAddress < ActiveRecord::Base
attr_accessible :email
diff --git a/app/models/user.rb b/app/models/user.rb
index e63ce8129..d75622b37 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1,26 +1,25 @@
# == Schema Information
-# Schema version: 20131024114346
#
# 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(2000-01-01 00:00:00 UTC)
-# 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
+# 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
# can_make_batch_requests :boolean default(FALSE), not null
#