Keep operation logs after dossier removal
This commit is contained in:
parent
1dfd450d18
commit
903cf0cef5
3 changed files with 16 additions and 2 deletions
|
@ -12,8 +12,9 @@ class DossierOperationLog < ApplicationRecord
|
|||
demander_un_avis: 'demander_un_avis'
|
||||
}
|
||||
|
||||
belongs_to :dossier
|
||||
has_one_attached :serialized
|
||||
|
||||
belongs_to :dossier, optional: true
|
||||
belongs_to :bill_signature, optional: true
|
||||
|
||||
def self.create_and_serialize(params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue