aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-19 12:01:21 +0000
committerfrancis <francis>2008-05-19 12:01:21 +0000
commit6e3c54b72c03f5b0d3bd46287b75808868df34b6 (patch)
tree55307795925ba4db7205e9b2e16bfc22113d633f /db/migrate
parentf1b7a36b6c7a70548a3e88c750a460c860c12bfc (diff)
Option to stop new respones for individual requests which for whatever reason
are getting spam.
Diffstat (limited to 'db/migrate')
-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