has_secure_password :recovery_password

This commit is contained in:
Karol Selak 2021-03-21 11:12:14 +01:00
parent 49998ee5b7
commit 639eb2ba04
5 changed files with 14 additions and 7 deletions

View file

@ -0,0 +1,5 @@
class ChangePasswordRecoveryCodeToRecoveryPasswordDigest < ActiveRecord::Migration[6.1]
def change
rename_column :users, :password_recovery_code, :recovery_password_digest
end
end