]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/UserBundle/Entity/User.php
Fixed mapping entities
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / Entity / User.php
index 20aca29837776bae9fc6ababf1b6000f069fd5d0..a3320bbcaeb14f2471f14e797f578be8917fc482 100644 (file)
@@ -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
      *