mirror of
https://github.com/google/nomulus.git
synced 2025-05-20 11:19:35 +02:00
Clarify that we are actually using the client ID in Spec11
The Registrar object's @ID is on its clientId field, so that's what we're actually using here, not the name. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=241936005
This commit is contained in:
parent
33cdc3ddda
commit
d217939894
4 changed files with 20 additions and 19 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
SELECT
|
||||
domain.fullyQualifiedDomainName AS fullyQualifiedDomainName,
|
||||
registrar.name AS registrarName,
|
||||
registrar.clientId AS registrarClientId,
|
||||
COALESCE(registrar.emailAddress, '') AS registrarEmailAddress
|
||||
FROM ( (
|
||||
SELECT
|
||||
|
@ -37,13 +37,13 @@ FROM ( (
|
|||
OR deletionTime > CURRENT_TIMESTAMP)) AS domain
|
||||
JOIN (
|
||||
SELECT
|
||||
__key__.name AS name,
|
||||
__key__.name AS clientId,
|
||||
emailAddress
|
||||
FROM
|
||||
`%PROJECT_ID%.%DATASTORE_EXPORT_DATASET%.%REGISTRAR_TABLE%`
|
||||
WHERE
|
||||
type = 'REAL') AS registrar
|
||||
ON
|
||||
domain.currentSponsorClientId = registrar.name)
|
||||
domain.currentSponsorClientId = registrar.clientId)
|
||||
ORDER BY
|
||||
creationTime DESC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue