added unique constraint for entity Word