diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-07 23:29:52 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-07 23:29:52 +0100 |
commit | 97e73758b2d61c90dc2d1bdbcfd61f7a80db21a8 (patch) | |
tree | 87fc775e6867980451621730e4b760959ee2b96f /db/migrate | |
parent | b1fb25f0d6ee481cca54f69ed50e6196595ce777 (diff) |
Added PROVISIONING_SET_HTTP_USER and PROVISIONING_SET_HTTP_PASSWORD.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20130107222128_set_provisioning_set_http_user.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20130107222128_set_provisioning_set_http_user.rb b/db/migrate/20130107222128_set_provisioning_set_http_user.rb new file mode 100644 index 0000000..8066fb9 --- /dev/null +++ b/db/migrate/20130107222128_set_provisioning_set_http_user.rb @@ -0,0 +1,13 @@ +class SetProvisioningSetHttpUser < ActiveRecord::Migration + def up + # Provisioning stuff + # + GsParameter.create(:name => 'PROVISIONING_SET_HTTP_USER', :section => 'Provisioning', :value => 'admin', :class_type => 'String') + GsParameter.create(:name => 'PROVISIONING_SET_HTTP_PASSWORD', :section => 'Provisioning', :value => '8', :class_type => 'Integer') + end + + def down + GsParameter.where(:name => 'PROVISIONING_SET_HTTP_USER').destroy_all + GsParameter.where(:name => 'PROVISIONING_SET_HTTP_PASSWORD').destroy_all + end +end |