Added doctrine uniqueconstraints