summaryrefslogtreecommitdiff
path: root/db/migrate/20130506093400_add_idle_text_gs_parameters.rb
blob: 72416d5a5c7ed89f52427ab74756a2467c53a115 (plain)
1
2
3
4
5
6
7
8
9
class AddIdleTextGsParameters < ActiveRecord::Migration
  def up
    GsParameter.create(:entity => 'phones', :section => 'snom', :name => 'user_idle_text', :value => '{caller_name}', :class_type => 'String', :description => 'Name shown on the idle screen')
  end

  def down
  	GsParameter.where(:entity => 'phones', :section => 'snom', :name => 'user_idle_text').destroy_all
  end
end