| ... | ... | @@ -34,7 +34,7 @@ class DeviseCreateUsers < ActiveRecord::Migration |
|
|
|
# t.datetime :locked_at
|
|
|
|
|
|
|
|
# Token authenticatable
|
|
|
|
t.string :authentication_token
|
|
|
|
# t.string :authentication_token
|
|
|
|
|
|
|
|
## Invitable
|
|
|
|
# t.string :invitation_token
|
| ... | ... | @@ -46,7 +46,7 @@ class DeviseCreateUsers < ActiveRecord::Migration |
|
|
|
add_index :users, :reset_password_token, :unique => true
|
|
|
|
# add_index :users, :confirmation_token, :unique => true
|
|
|
|
# add_index :users, :unlock_token, :unique => true
|
|
|
|
add_index :users, :authentication_token, :unique => true
|
|
|
|
# add_index :users, :authentication_token, :unique => true
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
| ... | ... | |
| ... | ... | |