diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-07-31 15:34:12 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-16 12:12:29 +0100 |
commit | 136cf239bfa0230d33d741aa4b31c0291f20fe10 (patch) | |
tree | 7c92e8ba5b3e8e817354d3c5fdd3fc891157e64d /app/models/info_request.rb | |
parent | a23be37bb6b4c4991766e1ed0f9cd0922c8db3a7 (diff) |
Re-annotate models with database fields
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 8f15a4ea4..c9bcc9bab 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -1,26 +1,25 @@ # == Schema Information -# Schema version: 20120919140404 # # Table name: info_requests # -# id :integer not null, primary key -# title :text not null +# id :integer not null, primary key +# title :text not null # user_id :integer -# 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 +# 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 # external_user_name :string(255) # external_url :string(255) -# attention_requested :boolean default(FALSE) -# comments_allowed :boolean default(TRUE), not null +# attention_requested :boolean default(FALSE) +# comments_allowed :boolean default(TRUE), not null # require 'digest/sha1' |