cascade remove persist on links
This commit is contained in:
parent
2ca24375e4
commit
7abf46af70
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class DDC117Article
|
||||||
private $translations;
|
private $translations;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @OneToMany(targetEntity="DDC117Link", mappedBy="source", indexBy="target_id")
|
* @OneToMany(targetEntity="DDC117Link", mappedBy="source", indexBy="target_id", cascade={"persist", "remove"})
|
||||||
*/
|
*/
|
||||||
private $links;
|
private $links;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue