Doctrine 1

Conditional unique validator and index