db(migration): add pieces jointes updates to dossiers

This commit is contained in:
Eric Leroy-Terquem 2024-09-10 16:08:38 +02:00
parent bc237152e7
commit 0006b6f504
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605
2 changed files with 10 additions and 0 deletions

View file

@ -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

View file

@ -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"