aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-01-24 15:53:14 +0000
committerfrancis <francis>2008-01-24 15:53:14 +0000
commit4cee79a9c722f5a9058f4d0e4390847f05aa2c3e (patch)
tree56eae11709af3711399b66593f15523ab2c4359a /app/models/info_request.rb
parent1ce9966115a737712d7b7c040e0d47a695479202 (diff)
Add NOT NULL constraints into the database everywhere
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 6f7c5d6d3..445682e1a 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -1,14 +1,14 @@
# == Schema Information
-# Schema version: 25
+# Schema version: 26
#
# Table name: info_requests
#
# id :integer not null, primary key
-# title :text
-# user_id :integer
-# public_body_id :integer
-# created_at :datetime
-# updated_at :datetime
+# 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
#
# models/info_request.rb:
@@ -17,7 +17,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: info_request.rb,v 1.28 2008-01-21 10:20:34 francis Exp $
+# $Id: info_request.rb,v 1.29 2008-01-24 15:53:15 francis Exp $
require 'digest/sha1'