<?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="Rhapsody\BlogBundle\Document\Comment" collection="rhapsody.blog.comments">

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        <indexes>
            <index unique="true" dropDups="true">
                <key name="usernameCanonical" order="asc" />
                <option name="safe" value="true" />
            </index>
            <index unique="true" dropDups="true">
                <key name="emailCanonical" order="asc" />
                <option name="safe" value="true" />
            </index>
        </indexes>

    </mapped-superclass>

</doctrine-mongo-mapping>

<?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="Rhapsody\BlogBundle\Document\Comment" collection="rhapsody.blog.comments">

    </mapped-superclass>

</doctrine-mongo-mapping>

Comment mapping was inaccurate (it was a copy and paste of a user mapping)
Comment mapping was inaccurate (it was a copy and paste of a user mapping)
