summaryrefslogtreecommitdiff
path: root/db/migrate/20130112074800_remove_ringback_dialplan_parameter.rb
blob: 90b793db50611d5724aaa66451d8dbb0610451b5 (plain)
1
2
3
4
5
6
7
8
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