Skip to content

Commit

Permalink
Remove fieldName attribute in MongoDB mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain committed Dec 27, 2018
1 parent 5850fba commit 6733bc8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions Resources/config/doctrine-mapping/Group.mongodb.xml
Expand Up @@ -6,9 +6,9 @@

<mapped-superclass name="FOS\UserBundle\Model\Group" collection="fos_user_group">

<field name="name" fieldName="name" type="string" />
<field name="name" type="string" />

<field name="roles" fieldName="roles" type="collection" />
<field name="roles" type="collection" />

<indexes>
<index>
Expand Down
22 changes: 11 additions & 11 deletions Resources/config/doctrine-mapping/User.mongodb.xml
Expand Up @@ -6,27 +6,27 @@

<mapped-superclass name="FOS\UserBundle\Model\User" collection="fos_user_user">

<field name="username" fieldName="username" type="string" />
<field name="username" type="string" />

<field name="usernameCanonical" fieldName="usernameCanonical" type="string" />
<field name="usernameCanonical" type="string" />

<field name="email" fieldName="email" type="string" />
<field name="email" type="string" />

<field name="emailCanonical" fieldName="emailCanonical" type="string" />
<field name="emailCanonical" type="string" />

<field name="enabled" fieldName="enabled" type="boolean" />
<field name="enabled" type="boolean" />

<field name="salt" fieldName="salt" type="string" />
<field name="salt" type="string" />

<field name="password" fieldName="password" type="string" />
<field name="password" type="string" />

<field name="lastLogin" fieldName="lastLogin" type="date" />
<field name="lastLogin" type="date" />

<field name="confirmationToken" fieldName="confirmationToken" type="string" />
<field name="confirmationToken" type="string" />

<field name="passwordRequestedAt" fieldName="passwordRequestedAt" type="date" />
<field name="passwordRequestedAt" type="date" />

<field name="roles" fieldName="roles" type="collection" />
<field name="roles" type="collection" />

<indexes>
<index>
Expand Down

0 comments on commit 6733bc8

Please sign in to comment.