flex around devise, also reconfirmable

This commit is contained in:
2022-12-20 21:02:36 +02:00
parent 13682fb58b
commit 0ccfab790b
15 changed files with 298 additions and 133 deletions

View File

@ -25,7 +25,7 @@ class AddDeviseToMembers < ActiveRecord::Migration[7.0]
t.string :confirmation_token
t.datetime :confirmed_at
t.datetime :confirmation_sent_at
#t.string :unconfirmed_email # Only if using reconfirmable
t.string :unconfirmed_email # Only if using reconfirmable
## Lockable
# t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts

1
db/schema.rb generated
View File

@ -27,6 +27,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_12_20_150958) do
t.string "confirmation_token"
t.datetime "confirmed_at"
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
t.index ["email"], name: "index_members_on_email", unique: true
t.index ["reset_password_token"], name: "index_members_on_reset_password_token", unique: true
end