added spec to tenant_by_subdomain_or_domain