diff --git a/db/migrate/20241009155037_add_last_avis_piece_jointe_updated_at.rb b/db/migrate/20241009155037_add_last_avis_piece_jointe_updated_at.rb new file mode 100644 index 000000000..411e59f2a --- /dev/null +++ b/db/migrate/20241009155037_add_last_avis_piece_jointe_updated_at.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class AddLastAvisPieceJointeUpdatedAt < ActiveRecord::Migration[7.0] + def change + add_column :dossiers, :last_avis_piece_jointe_updated_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index bdb19f2c4..07f4bc83b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -495,6 +495,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_10_14_084333) do t.string "hidden_by_reason" t.datetime "hidden_by_user_at", precision: nil t.datetime "identity_updated_at", precision: nil + t.datetime "last_avis_piece_jointe_updated_at" t.datetime "last_avis_updated_at", precision: nil t.datetime "last_champ_piece_jointe_updated_at" t.datetime "last_champ_private_updated_at", precision: nil