diff --git a/Bundle/BusinessEntityPageBundle/Entity/BusinessEntityPage.php b/Bundle/BusinessEntityPageBundle/Entity/BusinessEntityPage.php index 6965c8ef8..68d802c42 100644 --- a/Bundle/BusinessEntityPageBundle/Entity/BusinessEntityPage.php +++ b/Bundle/BusinessEntityPageBundle/Entity/BusinessEntityPage.php @@ -19,6 +19,7 @@ class BusinessEntityPage extends Page * @var EntityProxy * * @ORM\OneToOne(targetEntity="\Victoire\Bundle\CoreBundle\Entity\EntityProxy", cascade={"persist", "remove"}) + * @ORM\JoinColumn(name="entityProxy_id", referencedColumnName="id", onDelete="CASCADE") */ protected $entityProxy;