1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

cascade remove persist on links

This commit is contained in:
Asmir Mustafic 2013-04-29 11:03:55 +02:00
parent 2ca24375e4
commit 7abf46af70

View file

@ -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;