Removed extra OneToMany relations in
This commit is contained in:
parent
cbce2ca3c6
commit
922834da8a
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user