fix constraints

This commit is contained in:
Simon Vieille 2022-03-06 21:55:48 +01:00
commit 2afdc1cf41

View file

@ -27,6 +27,7 @@ class Intervention implements EntityInterface
/**
* @ORM\ManyToOne(targetEntity=Establishment::class, inversedBy="interventions")
* @ORM\JoinColumn(nullable=false, onDelete="CASCADE")
*/
private $establishment;