solidusio / solidus_auth_devise

🔑 Devise authentication for your Solidus store.
http://solidus.io
BSD 3-Clause "New" or "Revised" License
52 stars 124 forks source link

db index on reset_password_token missing #83

Closed vfonic closed 5 years ago

vfonic commented 7 years ago

The reset_password_token db index has been existing in devise since the creation of this file: https://github.com/plataformatec/devise/blob/88724e10adaf9ffd1d8dbfbaadda2b9d40de756a/lib/generators/active_record/templates/migration.rb#L14

It's a minor fix, not really sure it will speed things up (because every index slows insert/update)

kennyadsl commented 5 years ago

This is closed with #140