Fix mappedBy value for accounts relation

This commit is contained in:
Nicolas Le Goff
2014-03-06 17:11:58 +01:00
parent e59090fe87
commit d4ccdfe9b4

View File

@@ -121,7 +121,7 @@ class ApiApplication
/**
* @ORM\OneToMany(targetEntity="ApiAccount", mappedBy="product", cascade={"remove"})
* @ORM\OneToMany(targetEntity="ApiAccount", mappedBy="application", cascade={"remove"})
**/
private $accounts;