diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 06:34:09 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-23 06:34:09 +0300 |
commit | 5ca1772385d6f67a16a12f134c707b471b23cbe8 (patch) | |
tree | 8a968a1011de539891a8b0de7b387a26f7bc1426 /db | |
parent | 26622f4c8f96910b0f14e73bdebfb8198c693912 (diff) | |
download | gitlab-ce-5ca1772385d6f67a16a12f134c707b471b23cbe8.tar.gz |
Init username migration and rake task for create appropriate namespace
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20121123104937_add_username_to_user.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20121123104937_add_username_to_user.rb b/db/migrate/20121123104937_add_username_to_user.rb new file mode 100644 index 00000000000..04232a119d9 --- /dev/null +++ b/db/migrate/20121123104937_add_username_to_user.rb @@ -0,0 +1,5 @@ +class AddUsernameToUser < ActiveRecord::Migration + def change + add_column :users, :username, :string, null: true + end +end |