Doctrine 1

Generated SQL for indexes is faulty