diff options
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rw-r--r-- | db/migrate/20130116213312_change_user_name_prefix.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 218f072..0beeb3b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -100,6 +100,7 @@ GEM railties (>= 3.0, < 5.0) thor (>= 0.14, < 2.0) json (1.7.6) + kgio (2.7.4) macaddr (1.6.1) systemu (~> 2.5.0) mail (2.4.4) @@ -137,6 +138,7 @@ GEM rake (>= 0.8.7) rdoc (~> 3.4) thor (>= 0.14.6, < 2.0) + raindrops (0.10.0) rake (10.0.3) rdoc (3.12) json (~> 1.4) 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" |