diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-09-19 15:37:43 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-09-19 15:37:43 +0100 |
commit | 49508e4e6112e385266e208342fe3a7e3797e851 (patch) | |
tree | e12cbf19d1601635226d39ccc40af2371c90cca9 | |
parent | 550f143a9c9be1ebdfe257fe853a2adf1e13973c (diff) |
Migration accidentally omitted from 550f143
-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 |