mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 20:56:28 +00:00
Fixed mapping entities
There were this error in the console: > The association Wallabag\CoreBundle\Entity\SiteCredential#user refers to the inverse side field Wallabag\UserBundle\Entity\User#site_credentials which does not exist.
This commit is contained in:
parent
71e1cbc8eb
commit
9114615adc
1 changed files with 7 additions and 0 deletions
|
@ -92,6 +92,13 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
|
|||
*/
|
||||
protected $config;
|
||||
|
||||
/**
|
||||
* @var ArrayCollection
|
||||
*
|
||||
* @ORM\OneToMany(targetEntity="Wallabag\CoreBundle\Entity\SiteCredential", mappedBy="user", cascade={"remove"})
|
||||
*/
|
||||
protected $site_credentials;
|
||||
|
||||
/**
|
||||
* @var ArrayCollection
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue