Skip to content

Commit

Permalink
Add index on name and visible.
Browse files Browse the repository at this point in the history
  • Loading branch information
tadcka committed Apr 16, 2016
1 parent 7c24cf4 commit fd69b8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/config/doctrine/model/Route.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

<mapped-superclass name="Tadcka\Component\Routing\Model\Route">

<indexes>
<index columns="name,visible" name="name_visible_idx" />
</indexes>

<field name="name" column="name" type="string" length="255" nullable="false" unique="true" />

<field name="routePattern" column="route_pattern" type="string" length="255" nullable="true" unique="true" />
Expand Down

0 comments on commit fd69b8c

Please sign in to comment.