Fixed: annotation schema for ManyToMany relationship between Evaluation and SocialAction

Before this commit, the owning side of the relationship between Evaluation and SocialAction was declared twice.
This commit is contained in:
Julien Fastré 2022-07-29 22:53:40 +02:00
parent 6c191f584f
commit 62ff4998a0

View File

@ -49,9 +49,8 @@ class Evaluation
/** /**
* @ORM\ManyToMany( * @ORM\ManyToMany(
* targetEntity=SocialAction::class, * targetEntity=SocialAction::class,
* inversedBy="evaluations" * mappedBy="evaluations"
* ) * )
* @ORM\JoinTable(name="chill_person_social_work_evaluation_action")
*/ */
private Collection $socialActions; private Collection $socialActions;