diff options
author | spag <spag@golwen.net> | 2013-01-29 20:59:22 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-29 20:59:22 +0100 |
commit | 880cf1cd12ff8851337bc67f9c29ac53229ac911 (patch) | |
tree | 5b685363a9928ceb457fa956cb2880d485276510 /db/migrate/20130129154700_add_sso_key.rb | |
parent | 9928e509175ec6dbb9cd77aaeb06168c0de99d38 (diff) | |
parent | 5d84248cf177635a19f033f53abbca87ac5c87bc (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'db/migrate/20130129154700_add_sso_key.rb')
-rw-r--r-- | db/migrate/20130129154700_add_sso_key.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130129154700_add_sso_key.rb b/db/migrate/20130129154700_add_sso_key.rb new file mode 100644 index 0000000..2e47f39 --- /dev/null +++ b/db/migrate/20130129154700_add_sso_key.rb @@ -0,0 +1,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 |