1
0
mirror of synced 2025-01-18 06:21:40 +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)
*
* @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;