Add a unique constraint on field names within projects.