mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 03:05:19 +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;
|
protected $id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\ManyToOne(targetEntity="Client")
|
* @ORM\ManyToOne(targetEntity="Client", inversedBy="accessTokens")
|
||||||
* @ORM\JoinColumn(nullable=false)
|
* @ORM\JoinColumn(nullable=false)
|
||||||
*/
|
*/
|
||||||
protected $client;
|
protected $client;
|
||||||
|
|
|
@ -19,7 +19,7 @@ class RefreshToken extends BaseRefreshToken
|
||||||
protected $id;
|
protected $id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\ManyToOne(targetEntity="Client")
|
* @ORM\ManyToOne(targetEntity="Client", inversedBy="refreshTokens")
|
||||||
* @ORM\JoinColumn(nullable=false)
|
* @ORM\JoinColumn(nullable=false)
|
||||||
*/
|
*/
|
||||||
protected $client;
|
protected $client;
|
||||||
|
|
Loading…
Reference in a new issue