From d03ad9d5566efe8646490a533d2029d802b45751 Mon Sep 17 00:00:00 2001 From: marvin Date: Mon, 18 Nov 2024 16:49:47 +0100 Subject: [PATCH] =?UTF-8?q?entit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Entity/Lieu.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Entity/Lieu.php b/src/Entity/Lieu.php index a99311d..167893e 100644 --- a/src/Entity/Lieu.php +++ b/src/Entity/Lieu.php @@ -36,6 +36,7 @@ class Lieu private Collection $sorties; #[ORM\ManyToOne(inversedBy: 'lieux')] + #[ORM\JoinColumn(name: 'ville_id', referencedColumnName: 'idVille', nullable: false)] private ?Ville $ville = null; public function __construct()