Commit 0daf53b7 authored by Nihad Abbasov's avatar Nihad Abbasov

fix devise migrations issue

parent 9f520a65
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment