diff options
author | spag <spag@golwen.net> | 2013-01-12 09:08:06 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-12 09:08:06 +0100 |
commit | 0b9e91fd4654ac5c73072f9e77025abc3060c0c0 (patch) | |
tree | 066c1a003d588edcf421e49f0ee46acac43b6946 | |
parent | ce44ece18e64dc0bccee4cab680b965a38c0522d (diff) |
ringback parameter removed
-rw-r--r-- | db/migrate/20130112074800_remove_ringback_dialplan_parameter.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130112074800_remove_ringback_dialplan_parameter.rb b/db/migrate/20130112074800_remove_ringback_dialplan_parameter.rb new file mode 100644 index 0000000..90b793d --- /dev/null +++ b/db/migrate/20130112074800_remove_ringback_dialplan_parameter.rb @@ -0,0 +1,9 @@ +class RemoveRingbackDialplanParameter < ActiveRecord::Migration + def up + GsParameter.where(:entity => 'dialplan', :section => 'parameters', :name => 'ringback').destroy_all + end + + def down + GsParameter.create(:entity => 'dialplan', :section => 'parameters', :name => 'ringback', :value => '%(2000,4000,440.0,480.0)', :class_type => 'String') + end +end |