mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-17 16:46:06 +10:00
fix devise migrations issue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user