Init username migration and rake task for create appropriate namespace

This commit is contained in:
Dmitriy Zaporozhets 2012-11-23 06:34:09 +03:00
parent 26622f4c8f
commit 5ca1772385
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class AddUsernameToUser < ActiveRecord::Migration
def change
add_column :users, :username, :string, null: true
end
end