Invite mapping fixed.
This commit is contained in:
parent
511e124c40
commit
769a6bc6c5
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue