summaryrefslogtreecommitdiff
path: root/db/migrate/20130507095000_add_display_id_unicode_gs_parameters.rb
blob: 9b6ec66ecc3c849ebc9a08a9d3448912031b76b6 (plain)
1
2
3
4
5
6
7
8
9
class AddDisplayIdUnicodeGsParameters < ActiveRecord::Migration
  def up
    GsParameter.create(:entity => 'phones', :section => 'siemens', :name => 'display-id-unicode', :value => '{caller_name}', :class_type => 'String', :description => 'Name shown on the idle screen')
  end

  def down
  	GsParameter.where(:entity => 'phones', :section => 'siemens', :name => 'display-id-unicode').destroy_all
  end
end