summaryrefslogtreecommitdiff
path: root/db/migrate/20130215133749_add_sim_card_gs_parameter.rb
blob: 9b0bbbabd9ea58bfd3cce883d90efd5aca1be7e8 (plain)
1
2
3
4
5
6
7
8
9
class AddSimCardGsParameter < ActiveRecord::Migration
  def up
    GsParameter.create(:name => 'SIM_CARDS', :section => 'System defaults', :value => 'false', :class_type => 'Boolean', :description => 'Should it be possible to use SIM cards as SIP account users.')
  end

  def down
  	GsParameter.where(:name => 'SIM_CARDS').destroy_all
  end
end