1
0
mirror of synced 2025-01-30 03:51:43 +03:00

Merge pull request #938 from HermanPeeren/master

Missing join-tables added in example
This commit is contained in:
Marco Pivetta 2014-02-06 16:31:17 +01:00
commit 7ceb9b0b50

View File

@ -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) * Bidirectional - Many users have Many favorite comments (OWNING SIDE)
* *
* @ManyToMany(targetEntity="Comment", inversedBy="userFavorites") * @ManyToMany(targetEntity="Comment", inversedBy="userFavorites")
* @JoinTable(name="user_favorite_comments")
*/ */
private $favorites; 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 * Unidirectional - Many users have marked many comments as read
* *
* @ManyToMany(targetEntity="Comment") * @ManyToMany(targetEntity="Comment")
* @JoinTable(name="user_read_comments")
*/ */
private $commentsRead; private $commentsRead;