1
0
mirror of synced 2025-02-20 22:23:14 +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;
/**
* @OneToMany(targetEntity="DDC117Link", mappedBy="source", indexBy="target_id")
* @OneToMany(targetEntity="DDC117Link", mappedBy="source", indexBy="target_id", cascade={"persist", "remove"})
*/
private $links;