mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 01:21:03 +00:00
Merge pull request #2411 from wallabag/fix-entities
Fix entities definition
This commit is contained in:
commit
2a5ff7f554
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ class AccessToken extends BaseAccessToken
|
|||
protected $id;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="Client")
|
||||
* @ORM\ManyToOne(targetEntity="Client", inversedBy="accessTokens")
|
||||
* @ORM\JoinColumn(nullable=false)
|
||||
*/
|
||||
protected $client;
|
||||
|
|
|
@ -19,7 +19,7 @@ class RefreshToken extends BaseRefreshToken
|
|||
protected $id;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="Client")
|
||||
* @ORM\ManyToOne(targetEntity="Client", inversedBy="refreshTokens")
|
||||
* @ORM\JoinColumn(nullable=false)
|
||||
*/
|
||||
protected $client;
|
||||
|
|
Loading…
Reference in a new issue