summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 06:34:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-11-23 06:34:09 +0300
commit5ca1772385d6f67a16a12f134c707b471b23cbe8 (patch)
tree8a968a1011de539891a8b0de7b387a26f7bc1426 /db
parent26622f4c8f96910b0f14e73bdebfb8198c693912 (diff)
downloadgitlab-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.rb5
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