<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">

    <mapped-superclass name="Symfony\Cmf\Bundle\RoutingBundle\Model\Route">
        <field name="variablePattern" type="string" nullable="true"/>
        <!-- we hardcode the column name to overwrite column naming strategies as we have to define the index on the column name -->
        <field name="staticPrefix" type="string" nullable="true" column="staticPrefix"/>

        <indexes>
            <index columns="staticPrefix"/>
        </indexes>
    </mapped-superclass>

</doctrine-mapping>
