Permalink
Browse files

Add "username" to users table

  • Loading branch information...
1 parent f1a0ac3 commit 979663057fb411439f87af794c8d36243362df9e Joe Peck committed Jan 18, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 db/migrate/20121019183940_devise_create_users.rb
  2. +1 −0 db/schema.rb
@@ -4,6 +4,7 @@ def change
## Database authenticatable
t.string :email, :null => false, :default => ""
t.string :encrypted_password, :null => false, :default => ""
+ t.string :username # unique?
t.string :nickname
## Recoverable
View
@@ -51,6 +51,7 @@
create_table "users", :force => true do |t|
t.string "email", :default => "", :null => false
t.string "encrypted_password", :default => "", :null => false
+ t.string "username"
t.string "nickname"
t.string "reset_password_token"
t.datetime "reset_password_sent_at"

0 comments on commit 9796630

Please sign in to comment.