diff options
author | francis <francis> | 2008-01-24 15:53:14 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-24 15:53:14 +0000 |
commit | 4cee79a9c722f5a9058f4d0e4390847f05aa2c3e (patch) | |
tree | 56eae11709af3711399b66593f15523ab2c4359a /app/models/incoming_message.rb | |
parent | 1ce9966115a737712d7b7c040e0d47a695479202 (diff) |
Add NOT NULL constraints into the database everywhere
Diffstat (limited to 'app/models/incoming_message.rb')
-rw-r--r-- | app/models/incoming_message.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index 23e513508..2d35e14f2 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -1,16 +1,16 @@ # == Schema Information -# Schema version: 25 +# Schema version: 26 # # Table name: incoming_messages # # id :integer not null, primary key -# info_request_id :integer -# raw_data :text -# created_at :datetime -# updated_at :datetime -# user_classified :boolean default(false) +# info_request_id :integer not null +# raw_data :text not null +# created_at :datetime not null +# updated_at :datetime not null +# user_classified :boolean default(false), not null # contains_information :boolean -# is_bounce :boolean default(false) +# is_bounce :boolean default(false), not null # # models/incoming_message.rb: @@ -20,7 +20,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: incoming_message.rb,v 1.35 2008-01-23 01:59:23 francis Exp $ +# $Id: incoming_message.rb,v 1.36 2008-01-24 15:53:15 francis Exp $ # TODO |