Add unique constraint on (name, namespace, service) for layers