From f0716d611fd0cdf332ab5a11189034876a69b2df Mon Sep 17 00:00:00 2001 From: spag Date: Sun, 3 Feb 2013 18:30:51 +0100 Subject: migration fixed --- db/migrate/20130130185300_add_no_copy_headers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db') 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 -- cgit v1.2.3