Feat(User): add email_verified_at column
This commit is contained in:
parent
dbfd5eed8b
commit
bc8e3c35dd
2 changed files with 7 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddEmailVerifiedAtColumnToUsers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :users, :email_verified_at, :datetime
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_04_17_053843) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_05_24_120336) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_buffercache"
|
||||
enable_extension "pg_stat_statements"
|
||||
|
@ -1137,6 +1137,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_04_17_053843) do
|
|||
t.datetime "current_sign_in_at", precision: nil
|
||||
t.string "current_sign_in_ip"
|
||||
t.string "email", default: "", null: false
|
||||
t.datetime "email_verified_at"
|
||||
t.string "encrypted_password", default: "", null: false
|
||||
t.integer "failed_attempts", default: 0, null: false
|
||||
t.datetime "inactive_close_to_expiration_notice_sent_at"
|
||||
|
|
Loading…
Reference in a new issue