diff --git a/docs/en/reference/working-with-associations.rst b/docs/en/reference/working-with-associations.rst index a762ee9ac..f32ec4c4c 100644 --- a/docs/en/reference/working-with-associations.rst +++ b/docs/en/reference/working-with-associations.rst @@ -42,6 +42,7 @@ information about its type and if it's the owning or inverse side. * Bidirectional - Many users have Many favorite comments (OWNING SIDE) * * @ManyToMany(targetEntity="Comment", inversedBy="userFavorites") + * @JoinTable(name="user_favorite_comments") */ private $favorites; @@ -49,6 +50,7 @@ information about its type and if it's the owning or inverse side. * Unidirectional - Many users have marked many comments as read * * @ManyToMany(targetEntity="Comment") + * @JoinTable(name="user_read_comments") */ private $commentsRead;