summaryrefslogtreecommitdiff
path: root/db/migrate/20130116213312_change_user_name_prefix.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 22:37:20 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 22:37:20 +0100
commitee9efa4e414e89a5dbc8df5b94b758055d8ee633 (patch)
tree1b6d29aed4a452e77a6ff478ec7b0703de3c4a2d /db/migrate/20130116213312_change_user_name_prefix.rb
parent16c2367e7e291fdc063f77cbdcbc41874060554a (diff)
Set a new default for USER_NAME_PREFIX.
Diffstat (limited to 'db/migrate/20130116213312_change_user_name_prefix.rb')
-rw-r--r--db/migrate/20130116213312_change_user_name_prefix.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130116213312_change_user_name_prefix.rb b/db/migrate/20130116213312_change_user_name_prefix.rb
new file mode 100644
index 0000000..1e6aa59
--- /dev/null
+++ b/db/migrate/20130116213312_change_user_name_prefix.rb
@@ -0,0 +1,5 @@
+class ChangeUserNamePrefix < ActiveRecord::Migration
+ def up
+ GsParameter.where(:name => 'USER_NAME_PREFIX').first.update_attributes(:value => "xyz")
+ end
+end