fix menu deletation
This commit is contained in:
parent
313f8dee98
commit
c3ba13182e
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue