aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/055_stop_new_responses.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/055_stop_new_responses.rb')
-rw-r--r--db/migrate/055_stop_new_responses.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/055_stop_new_responses.rb b/db/migrate/055_stop_new_responses.rb
new file mode 100644
index 000000000..9c9e7ad9f
--- /dev/null
+++ b/db/migrate/055_stop_new_responses.rb
@@ -0,0 +1,9 @@
+class StopNewResponses < ActiveRecord::Migration
+ def self.up
+ add_column :info_requests, :stop_new_responses, :boolean, :default => false, :null => false
+ end
+
+ def self.down
+ remove :info_requests, :stop_new_responses
+ end
+end