Init username migration and rake task for create appropriate namespace
This commit is contained in:
parent
26622f4c8f
commit
5ca1772385
2 changed files with 18 additions and 0 deletions
5
db/migrate/20121123104937_add_username_to_user.rb
Normal file
5
db/migrate/20121123104937_add_username_to_user.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddUsernameToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :username, :string, null: true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue