added unique indexes on :name