From 8d8e29065947e596c97e8bf82700ec8b7febacff Mon Sep 17 00:00:00 2001 From: Eric Leroy-Terquem Date: Wed, 9 Oct 2024 17:54:32 +0200 Subject: [PATCH] db(migration): add last_avis_piece_jointe_updated_at to dossiers --- ...20241009155037_add_last_avis_piece_jointe_updated_at.rb | 7 +++++++ db/schema.rb | 1 + 2 files changed, 8 insertions(+) create mode 100644 db/migrate/20241009155037_add_last_avis_piece_jointe_updated_at.rb 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