chore(db): ignore attestation_template_id

This commit is contained in:
Paul Chavard 2024-04-11 12:03:06 +02:00
parent e7f31e4d49
commit ceae749746

View file

@ -1,4 +1,5 @@
class ProcedureRevision < ApplicationRecord
self.ignored_columns += [:attestation_template_id]
self.implicit_order_column = :created_at
belongs_to :procedure, -> { with_discarded }, inverse_of: :revisions, optional: false
belongs_to :dossier_submitted_message, inverse_of: :revisions, optional: true, dependent: :destroy