fix devise migrations issue
This commit is contained in:
parent
9f520a65ba
commit
0daf53b759
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue