Add unique name constraint to deployments