mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
cascading remove of Person\CenterHistory
This commit is contained in:
parent
e2b500ea5f
commit
f2d391ea2e
@ -207,7 +207,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
|||||||
private ?PersonCenterCurrent $centerCurrent = null;
|
private ?PersonCenterCurrent $centerCurrent = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\OneToMany(targetEntity=PersonCenterHistory::class, mappedBy="person", cascade={"persist"})
|
* @ORM\OneToMany(targetEntity=PersonCenterHistory::class, mappedBy="person", cascade={"persist", "remove"})
|
||||||
*
|
*
|
||||||
* @var Collection<PersonCenterHistory>
|
* @var Collection<PersonCenterHistory>
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user