From 8f5e0423574269193601cf8677ff2beaee615371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 25 Nov 2014 22:58:50 +0100 Subject: [PATCH] add an index on person firstname and lastname But this index should be lowercase (refs #364) : this should be fixed when we will use doctrine migrations --- Resources/config/doctrine/Person.orm.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Resources/config/doctrine/Person.orm.yml b/Resources/config/doctrine/Person.orm.yml index ec381acbe..c1e9c6e3c 100644 --- a/Resources/config/doctrine/Person.orm.yml +++ b/Resources/config/doctrine/Person.orm.yml @@ -1,6 +1,9 @@ Chill\PersonBundle\Entity\Person: type: entity table: null + indexes: + person_names: + columns: [firstName, lastName] repositoryClass: Chill\PersonBundle\Entity\PersonRepository fields: id: