fix constraints
This commit is contained in:
parent
083a8f114f
commit
2afdc1cf41
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ class Intervention implements EntityInterface
|
|||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity=Establishment::class, inversedBy="interventions")
|
||||
* @ORM\JoinColumn(nullable=false, onDelete="CASCADE")
|
||||
*/
|
||||
private $establishment;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue