blob: ff5bd7c54a726ce9e1e1db48b4264ee984d63a51 (
plain)
1
2
3
4
5
6
7
8
9
10
|
class AddDingalingParameter < ActiveRecord::Migration
def up
GsParameter.create(:entity => 'dingaling', :section => 'parameters', :name => 'debug', :value => '0', :class_type => 'Integer', :description => 'Debug level.')
GsParameter.create(:entity => 'dingaling', :section => 'parameters', :name => 'codec-prefs', :value => 'PCMA,PCMU', :class_type => 'String', :description => 'Codec preferences.')
end
def down
GsParameter.where(:entity => 'dingaling', :section => 'parameters').destroy_all
end
end
|