From 0006b6f504a434cc6161795a055bb0d67cfbf947 Mon Sep 17 00:00:00 2001 From: Eric Leroy-Terquem Date: Tue, 10 Sep 2024 16:08:38 +0200 Subject: [PATCH] db(migration): add pieces jointes updates to dossiers --- ...240910135752_add_pieces_jointes_updates_to_dossiers.rb | 8 ++++++++ db/schema.rb | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 db/migrate/20240910135752_add_pieces_jointes_updates_to_dossiers.rb diff --git a/db/migrate/20240910135752_add_pieces_jointes_updates_to_dossiers.rb b/db/migrate/20240910135752_add_pieces_jointes_updates_to_dossiers.rb new file mode 100644 index 000000000..e8374aa23 --- /dev/null +++ b/db/migrate/20240910135752_add_pieces_jointes_updates_to_dossiers.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +class AddPiecesJointesUpdatesToDossiers < ActiveRecord::Migration[7.0] + def change + add_column :dossiers, :last_champ_piece_jointe_updated_at, :datetime + add_column :dossiers, :last_commentaire_piece_jointe_updated_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index a628a89ea..fd9774819 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -488,8 +488,10 @@ ActiveRecord::Schema[7.0].define(version: 2024_09_23_125619) do t.datetime "hidden_by_user_at", precision: nil t.datetime "identity_updated_at", precision: nil 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 t.datetime "last_champ_updated_at", precision: nil + t.datetime "last_commentaire_piece_jointe_updated_at" t.datetime "last_commentaire_updated_at", precision: nil t.string "mandataire_first_name" t.string "mandataire_last_name"