diff --git a/src/Entity/Category.php b/src/Entity/Category.php index 7ab1308..d143883 100644 --- a/src/Entity/Category.php +++ b/src/Entity/Category.php @@ -17,9 +17,6 @@ class Category #[ORM\Column(length: 30)] private ?string $label = null; - #[ORM\ManyToOne(targetEntity: Mission::class, inversedBy: 'category')] - private ?Mission $mission = null; - #[ORM\ManyToOne(targetEntity: MissionCategory::class, inversedBy: 'category')] private Collection $missionCategory; diff --git a/src/Entity/Mission.php b/src/Entity/Mission.php index b1dfb2d..719703c 100644 --- a/src/Entity/Mission.php +++ b/src/Entity/Mission.php @@ -23,9 +23,6 @@ class Mission #[ORM\OneToMany(targetEntity: Employee::class, mappedBy: 'mission')] private ?employee $employee = null; - #[ORM\OneToMany(targetEntity: Category::class, mappedBy: 'mission')] - private Collection $categories; - #[ORM\OneToMany(targetEntity: Ride::class, mappedBy: 'mission')] private ?Ride $ride;