Invite mapping fixed.

This commit is contained in:
Alexey Skobkin 2018-06-28 22:22:19 +03:00
parent 511e124c40
commit 769a6bc6c5

View file

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