diff --git a/src/Bundle/ChillPersonBundle/Entity/Person.php b/src/Bundle/ChillPersonBundle/Entity/Person.php index 5d9f6a2cb..bf6a283c1 100644 --- a/src/Bundle/ChillPersonBundle/Entity/Person.php +++ b/src/Bundle/ChillPersonBundle/Entity/Person.php @@ -187,7 +187,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI private ?Center $center = null; /** - * @ORM\OneToMany(targetEntity=PersonCenterHistory::class, mappedBy="person") + * @ORM\OneToMany(targetEntity=PersonCenterHistory::class, mappedBy="person", cascade={"persist"}) * @var Collection|PersonCenterHistory[] */ private Collection $centerHistory;