Invite mapping fixed.

This commit is contained in:
Alexey Skobkin 2018-06-28 22:22:19 +03:00
parent 511e124c40
commit 769a6bc6c5
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Invite
/**
* @var User
*
* @ORM\ManyToOne(targetEntity="App\Entity\User")
* @ORM\ManyToOne(targetEntity="App\Entity\User", inversedBy="invites")
* @ORM\JoinColumn(name="user_id", nullable=false)
*/
private $user;