diff options
-rw-r--r-- | src/Wallabag/ApiBundle/Entity/Client.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/ApiBundle/Entity/Client.php b/src/Wallabag/ApiBundle/Entity/Client.php index 3e2f491c..92b2f762 100644 --- a/src/Wallabag/ApiBundle/Entity/Client.php +++ b/src/Wallabag/ApiBundle/Entity/Client.php | |||
@@ -25,6 +25,11 @@ class Client extends BaseClient | |||
25 | */ | 25 | */ |
26 | protected $name; | 26 | protected $name; |
27 | 27 | ||
28 | /** | ||
29 | * @ORM\OneToMany(targetEntity="RefreshToken", mappedBy="client", cascade={"remove"}) | ||
30 | */ | ||
31 | protected $refreshTokens; | ||
32 | |||
28 | public function __construct() | 33 | public function __construct() |
29 | { | 34 | { |
30 | parent::__construct(); | 35 | parent::__construct(); |