Destroy dossier_operation_logs when dossier is destroyed
This commit is contained in:
parent
e6ecf4585c
commit
9b39934e8b
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class Dossier < ApplicationRecord
|
||||||
has_many :followers_gestionnaires, through: :follows, source: :gestionnaire
|
has_many :followers_gestionnaires, through: :follows, source: :gestionnaire
|
||||||
has_many :avis, dependent: :destroy
|
has_many :avis, dependent: :destroy
|
||||||
|
|
||||||
has_many :dossier_operation_logs
|
has_many :dossier_operation_logs, dependent: :destroy
|
||||||
|
|
||||||
belongs_to :procedure
|
belongs_to :procedure
|
||||||
belongs_to :user
|
belongs_to :user
|
||||||
|
|
Loading…
Reference in a new issue