Skip to content

Commit

Permalink
tech(users.inactive_close_to_expiration_notice_sent_at): ajoute une c…
Browse files Browse the repository at this point in the history
…olonne pour suivre la date de notification avant suppression du compte usager inactif
  • Loading branch information
Martin committed Nov 3, 2023
1 parent 5f1cf94 commit 636d767
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2023_11_02_163249) do
ActiveRecord::Schema[7.0].define(version: 2023_11_03_084116) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
Expand Down Expand Up @@ -1026,6 +1026,7 @@
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", 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.string "last_sign_in_ip"
t.string "locale"
Expand Down

0 comments on commit 636d767

Please sign in to comment.