You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ rails g migration AddOtpSecretKeyToUsers otp_secret_key:string
$ rails g migration AddCounterForOtpToUsers otp_counter:integer
$ rails g migration AddCounterForOtpToUsers my_otp_counter:integer
# Set the default value to `1` manually
$ rake db:migrate
Followed the Counter based OTP guide.
$ rails g migration AddOtpSecretKeyToUsers otp_secret_key:string $ rails g migration AddCounterForOtpToUsers otp_counter:integer $ rails g migration AddCounterForOtpToUsers my_otp_counter:integer # Set the default value to `1` manually $ rake db:migrate
Not sure why the same problem isn't exhibited by the specs, but the following seems to fix the problem:
The text was updated successfully, but these errors were encountered: