File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,6 +73,24 @@ use Doctrine\ORM\Mapping as ORM;
7373class RefreshToken extends \N etgen\A piPlatformExtras\E ntity\R efreshToken {}
7474` ` `
7575
76+ ` ` ` yaml
77+ # config/doctrine/RefreshToken.orm.yaml
78+ App\E ntity\R efreshToken:
79+ type: entity
80+ table: project_prefix_refresh_token
81+ ` ` `
82+
83+ ` ` ` xml
84+ <!-- config/doctrine/RefreshToken.orm.xml -->
85+ <?xml version="1.0" encoding="UTF-8"?>
86+ <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
87+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
88+ xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
89+ https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
90+ <entity name="App\E ntity\R efreshToken" table="project_prefix_refresh_token" />
91+ </doctrine-mapping>
92+ ` ` `
93+
7694And configure Gesdinet to use your entity :
7795
7896` ` ` yaml
Original file line number Diff line number Diff line change 55 xsi : schemaLocation =" http://doctrine-project.org/schemas/orm/doctrine-mapping
66 https://doctrine-project.org/schemas/orm/doctrine-mapping.xsd" >
77
8- <mapped-superclass name =" Netgen\ApiPlatformExtras\Entity\RefreshToken" table =" bhr_refresh_token " repository-class =" Gesdinet\JWTRefreshTokenBundle\Entity\RefreshTokenRepository" >
8+ <mapped-superclass name =" Netgen\ApiPlatformExtras\Entity\RefreshToken" table =" refresh_token " repository-class =" Gesdinet\JWTRefreshTokenBundle\Entity\RefreshTokenRepository" >
99 <id name =" id" type =" integer" >
1010 <generator strategy =" AUTO" />
1111 </id >
You can’t perform that action at this time.
0 commit comments