Mint certificate GIDs with entity type 106

Certificate backfill migrations used entity type 104, which belongs to
commitment groups. Use 106 so migrated certificate IDs decode correctly.

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-07-21 13:33:11 +02:00
parent 8402e0c31e
commit a3d6c120d7
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ minted_certificates AS (
updated_at
)
SELECT
generate_gid(decode_base64_unpadded(pp.tenant_id), 104),
generate_gid(decode_base64_unpadded(pp.tenant_id), 106),
pp.tenant_id,
pp.hostname,
'PENDING'::custom_domain_ssl_status,