12345678910111213141516171819202122 |
- <?xml version="1.0" encoding="UTF-8"?>
- <doctrine-mongo-mapping xmlns="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping
- http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">
- <mapped-superclass name="FOS\UserBundle\Document\Group" collection="fos_user_group">
- <field name="name" fieldName="name" type="string" />
- <field name="roles" fieldName="roles" type="hash" />
- <indexes>
- <index unique="true" dropDups="true">
- <key name="name" order="asc" />
- <option name="safe" value="true" />
- </index>
- </indexes>
- </mapped-superclass>
- </doctrine-mongo-mapping>
|