Skip to content

Commit

Permalink
Merge pull request #27 from androshchuk/master
Browse files Browse the repository at this point in the history
replacement fieldName attribute in mongodb configuration
  • Loading branch information
klapaudius authored Sep 2, 2024
2 parents 260d2bd + f76d053 commit fc54483
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Resources/config/doctrine/AccessToken.mongodb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">

<mapped-superclass name="FOS\OAuthServerBundle\Document\AccessToken">
<field name="token" fieldName="token" type="string" unique="true" />
<field name="expiresAt" fieldName="expiresAt" type="int" nullable="true" />
<field name="scope" fieldName="scope" type="string" nullable="true" />
<field field-name="token" type="string" unique="true" />
<field field-name="expiresAt" type="int" nullable="true" />
<field field-name="scope" type="string" nullable="true" />
</mapped-superclass>
</doctrine-mongo-mapping>
8 changes: 4 additions & 4 deletions Resources/config/doctrine/AuthCode.mongodb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">

<mapped-superclass name="FOS\OAuthServerBundle\Document\AuthCode">
<field name="token" fieldName="token" type="string" unique="true" />
<field name="redirectUri" fieldName="redirectUri" type="string" />
<field name="expiresAt" fieldName="expiresAt" type="int" nullable="true" />
<field name="scope" fieldName="scope" type="string" nullable="true" />
<field field-name="token" type="string" unique="true" />
<field field-name="redirectUri" type="string" />
<field field-name="expiresAt" type="int" nullable="true" />
<field field-name="scope" type="string" nullable="true" />
</mapped-superclass>
</doctrine-mongo-mapping>
8 changes: 4 additions & 4 deletions Resources/config/doctrine/Client.mongodb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">

<mapped-superclass name="FOS\OAuthServerBundle\Document\Client">
<field name="randomId" fieldName="randomId" type="string" />
<field name="redirectUris" fieldName="redirectUris" type="collection" />
<field name="secret" fieldName="secret" type="string" />
<field name="allowedGrantTypes" fieldName="allowedGrantTypes" type="collection" />
<field field-name="randomId" type="string" />
<field field-name="redirectUris" type="collection" />
<field field-name="secret" type="string" />
<field field-name="allowedGrantTypes" type="collection" />
</mapped-superclass>
</doctrine-mongo-mapping>
6 changes: 3 additions & 3 deletions Resources/config/doctrine/RefreshToken.mongodb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">

<mapped-superclass name="FOS\OAuthServerBundle\Document\RefreshToken">
<field name="token" fieldName="token" type="string" unique="true" />
<field name="expiresAt" fieldName="expiresAt" type="int" nullable="true" />
<field name="scope" fieldName="scope" type="string" nullable="true" />
<field field-name="token" type="string" unique="true" />
<field field-name="expiresAt" type="int" nullable="true" />
<field field-name="scope" type="string" nullable="true" />
</mapped-superclass>
</doctrine-mongo-mapping>

0 comments on commit fc54483

Please sign in to comment.