Merge pull request #10302 from tchak/ignore-attestation_template_id

chore(db): ignore attestation_template_id
This commit is contained in:
Paul Chavard 2024-04-11 10:30:37 +00:00 committed by GitHub
commit fe508c0a73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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