summaryrefslogtreecommitdiff
path: root/db/migrate/20130129154700_add_sso_key.rb
blob: 2e47f39461089f37562f5cebef2eac2ece1ace07 (plain)
1
2
3
4
5
6
7
8
9
class AddSsoKey < ActiveRecord::Migration
  def up
    GsParameter.create(:name => 'SingleSignOnEnvUserNameKey', :section => 'Generic', :value => '', :class_type => 'Nil', :description => 'When set to a string this env variable will be used to authenticate the user. e.g. REMOTE_USER')
  end

  def down
  	GsParameter.create(:name => 'SingleSignOnEnvUserNameKey').destroy_all
  end
end