summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/migrate/20130130185300_add_no_copy_headers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20130130185300_add_no_copy_headers.rb b/db/migrate/20130130185300_add_no_copy_headers.rb
index c2c5c90..aa96653 100644
--- a/db/migrate/20130130185300_add_no_copy_headers.rb
+++ b/db/migrate/20130130185300_add_no_copy_headers.rb
@@ -4,6 +4,6 @@ class AddNoCopyHeaders < ActiveRecord::Migration
end
def down
- GsParameter.create(:entity => 'dialplan', :section => 'variables', :name => 'sip_copy_custom_headers').destroy_all
+ GsParameter.where(:entity => 'dialplan', :section => 'variables', :name => 'sip_copy_custom_headers').destroy_all
end
end