File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Resources/config/doctrine Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
6
6
7
7
<mapped-superclass name =" FOS\OAuthServerBundle\Document\AccessToken" >
8
- <field name =" token" fieldName =" token" type =" string" />
8
+ <field name =" token" fieldName =" token" type =" string" unique = " true " />
9
9
<field name =" expiresAt" fieldName =" expiresAt" type =" int" nullable =" true" />
10
10
<field name =" scope" fieldName =" scope" type =" string" nullable =" true" />
11
11
</mapped-superclass >
Original file line number Diff line number Diff line change 5
5
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
6
6
7
7
<mapped-superclass name =" FOS\OAuthServerBundle\Document\AuthCode" >
8
- <field name =" token" fieldName =" token" type =" string" />
8
+ <field name =" token" fieldName =" token" type =" string" unique = " true " />
9
9
<field name =" redirectUri" fieldName =" redirectUri" type =" string" />
10
10
<field name =" expiresAt" fieldName =" expiresAt" type =" int" nullable =" true" />
11
11
<field name =" scope" fieldName =" scope" type =" string" nullable =" true" />
Original file line number Diff line number Diff line change 5
5
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd" >
6
6
7
7
<mapped-superclass name =" FOS\OAuthServerBundle\Document\RefreshToken" >
8
- <field name =" token" fieldName =" token" type =" string" />
8
+ <field name =" token" fieldName =" token" type =" string" unique = " true " />
9
9
<field name =" expiresAt" fieldName =" expiresAt" type =" int" nullable =" true" />
10
10
<field name =" scope" fieldName =" scope" type =" string" nullable =" true" />
11
11
</mapped-superclass >
You can’t perform that action at this time.
0 commit comments