diff options
author | spag <spag@golwen.net> | 2013-01-16 23:09:38 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-16 23:09:38 +0100 |
commit | e398d40c7ae15af9c840d0cda901303db8f22c39 (patch) | |
tree | 7319eb2cc22339e4efee4caf5fd67bcaababf6bf /db | |
parent | 8fd56dfe3d2bca6ccd9353031947ae4a8dca4528 (diff) | |
parent | c2f63b8bf288903a68c562cdf9353e6840a7cb61 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20130116213312_change_user_name_prefix.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 6 insertions, 1 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 diff --git a/db/schema.rb b/db/schema.rb index bc4f737..8416305 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20130116145500) do +ActiveRecord::Schema.define(:version => 20130116213312) do create_table "access_authorizations", :force => true do |t| t.string "access_authorizationable_type" |