fix menu deletation

This commit is contained in:
Simon Vieille 2021-03-18 21:52:27 +01:00
parent 313f8dee98
commit c3ba13182e

View file

@ -47,6 +47,7 @@ class Menu implements EntityInterface
/** /**
* @ORM\OneToOne(targetEntity=Node::class) * @ORM\OneToOne(targetEntity=Node::class)
* @ORM\JoinColumn(onDelete="CASCADE")
*/ */
private $rootNode; private $rootNode;