summaryrefslogtreecommitdiff
path: root/db/migrate/20130124175109_show_admin_auto_online_help.rb
blob: 9c3f733ef5df4423e74049e9e8ec1b102fc7b1d9 (plain)
1
2
3
4
5
6
7
8
9
class ShowAdminAutoOnlineHelp < ActiveRecord::Migration
  def up
    GsParameter.create(:name => 'AUTO_ADMIN_ONLINE_HELP', :section => 'Documentation', :value => 'true', :class_type => 'Boolean', :description => 'Gemeinschaft will include tips and help whenever it seems fit.')
  end

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