1
0
Fork 0
This commit is contained in:
Alex Kotov 2019-07-20 04:55:57 +05:00
parent 0f3f9fba57
commit da6dd1dc79
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -40,11 +40,11 @@ class DeviseCreateUsers < ActiveRecord::Migration[5.2]
t.string :unlock_token t.string :unlock_token
t.datetime :locked_at t.datetime :locked_at
t.index :users, :account, unique: true t.index :account, unique: true
t.index :users, :email, unique: true t.index :email, unique: true
t.index :users, :reset_password_token, unique: true t.index :reset_password_token, unique: true
t.index :users, :confirmation_token, unique: true t.index :confirmation_token, unique: true
t.index :users, :unlock_token, unique: true t.index :unlock_token, unique: true
end end
create_table :roles do |t| create_table :roles do |t|