tech(users.inactive_close_to_expiration_notice_sent_at): ajoute une colonne pour suivre la date de notification avant suppression du compte usager inactif
This commit is contained in:
parent
252b3e4719
commit
b08609af48
2 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
class AddExpiredNotificationSentAtToUsers < ActiveRecord::Migration[7.0]
|
||||||
|
def change
|
||||||
|
add_column :users, :inactive_close_to_expiration_notice_sent_at, :datetime, precision: 6, null: true
|
||||||
|
end
|
||||||
|
end
|
|
@ -1053,8 +1053,10 @@ ActiveRecord::Schema[7.0].define(version: 2023_11_14_113317) do
|
||||||
t.string "email", default: "", null: false
|
t.string "email", default: "", null: false
|
||||||
t.string "encrypted_password", default: "", null: false
|
t.string "encrypted_password", default: "", null: false
|
||||||
t.integer "failed_attempts", default: 0, null: false
|
t.integer "failed_attempts", default: 0, null: false
|
||||||
|
t.datetime "inactive_close_to_expiration_notice_sent_at"
|
||||||
t.datetime "last_sign_in_at", precision: 6
|
t.datetime "last_sign_in_at", precision: 6
|
||||||
t.string "last_sign_in_ip"
|
t.string "last_sign_in_ip"
|
||||||
|
|
||||||
t.string "locale"
|
t.string "locale"
|
||||||
t.datetime "locked_at", precision: 6
|
t.datetime "locked_at", precision: 6
|
||||||
t.string "loged_in_with_france_connect", default: "false"
|
t.string "loged_in_with_france_connect", default: "false"
|
||||||
|
|
Loading…
Reference in a new issue