cascade persist added to Activity::documents

This commit is contained in:
Julie Lenaerts 2021-11-03 14:15:48 +01:00
parent 94e84fbdf0
commit 39e0e01eb8

View File

@ -158,7 +158,7 @@ class Activity implements HasCenterInterface, HasScopeInterface, AccompanyingPer
private ?Collection $thirdParties = null;
/**
* @ORM\ManyToMany(targetEntity="Chill\DocStoreBundle\Entity\StoredObject")
* @ORM\ManyToMany(targetEntity="Chill\DocStoreBundle\Entity\StoredObject", cascade={"persist"})
*/
private Collection $documents;