diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-09-24 09:48:19 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-09-24 09:48:19 +0100 |
commit | 54281fd50c3271835a54ab4bc08d40da09d643ee (patch) | |
tree | 6e73e90303e0d7cab3379d7a78a2299b79219f1a /db | |
parent | 793ca358c37458e6cc4385d2366621aaee93a25e (diff) | |
parent | de8bc5b736828f0670c7259f1c4036bb97621cd3 (diff) |
Merge remote-tracking branch 'henare_github/patch-1'
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20120919140404_add_comments_allowed_to_info_request.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120919140404_add_comments_allowed_to_info_request.rb b/db/migrate/20120919140404_add_comments_allowed_to_info_request.rb new file mode 100644 index 000000000..4ae0bce18 --- /dev/null +++ b/db/migrate/20120919140404_add_comments_allowed_to_info_request.rb @@ -0,0 +1,9 @@ +class AddCommentsAllowedToInfoRequest < ActiveRecord::Migration + def self.up + add_column :info_requests, :comments_allowed, :boolean, :null => false, :default => true + end + + def self.down + remove_column :info_requests, :comments_allowed + end +end |