User.couchdb.xml 1.2 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <doctrine-mapping>
  3. <mapped-superclass name="FOS\UserBundle\Document\User" indexed="true">
  4. <field name="username" fieldName="username" type="string" indexed="true" />
  5. <field name="usernameCanonical" fieldName="usernameCanonical" type="string" indexed="true" />
  6. <field name="email" fieldName="email" type="string" indexed="true" />
  7. <field name="emailCanonical" fieldName="emailCanonical" type="string" indexed="true" />
  8. <field name="enabled" fieldName="enabled" type="mixed" />
  9. <field name="salt" fieldName="salt" type="string" />
  10. <field name="password" fieldName="password" type="string" />
  11. <field name="lastLogin" fieldName="lastLogin" type="datetime" />
  12. <field name="locked" fieldName="locked" type="mixed" />
  13. <field name="expired" fieldName="expired" type="mixed" />
  14. <field name="expiresAt" fieldName="expiresAt" type="datetime" />
  15. <field name="confirmationToken" fieldName="confirmationToken" type="string" />
  16. <field name="passwordRequestedAt" fieldName="passwordRequestedAt" type="datetime" />
  17. <field name="roles" fieldName="roles" type="mixed" />
  18. </mapped-superclass>
  19. </doctrine-mapping>