summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-27 11:13:13 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-27 11:13:13 +0100
commit361a226ac8167b2c6a552960155e89ecb344ec0c (patch)
treefe9e3f8921749015803f0efcb03169fcc226c333 /db
parentf5a09733ae0b6f77211eea03ab161e0c9122465b (diff)
parent45af07cb093eb0202967cf0d0fc058ca58f0b782 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20130127073800_add_dingaling_parameter.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20130127073800_add_dingaling_parameter.rb b/db/migrate/20130127073800_add_dingaling_parameter.rb
new file mode 100644
index 0000000..ff5bd7c
--- /dev/null
+++ b/db/migrate/20130127073800_add_dingaling_parameter.rb
@@ -0,0 +1,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