Doctrine 2 - ORM

Automatically create index for discriminator column