summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-03 18:30:51 +0100
committerspag <spag@golwen.net>2013-02-03 18:30:51 +0100
commitf0716d611fd0cdf332ab5a11189034876a69b2df (patch)
treec662fe55eaf110501e655f6ca606b0628b27cba9 /db
parent775dc19b31c8d9304c571187464f936f4f337064 (diff)
migration fixed
Diffstat (limited to 'db')
-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