diff --git a/packages/metadata-protocol/src/migrations/runtime-index-preflight.ts b/packages/metadata-protocol/src/migrations/runtime-index-preflight.ts index fa5c4bd95c3..43be5f56236 100644 --- a/packages/metadata-protocol/src/migrations/runtime-index-preflight.ts +++ b/packages/metadata-protocol/src/migrations/runtime-index-preflight.ts @@ -148,8 +148,8 @@ export interface RuntimeIndexDuplicateGroup { /** * The key, exactly as the migration's query projects it: a bare column * name, or `_key` for a column whose NULLs the index folds into a - * sentinel bucket. Neither sentinel can occur in real data, so - * `organization_id_key = '__global__'` reads as "organization_id IS NULL". + * sentinel bucket. No sentinel can occur in real data, so + * `user_id_key = ''` reads as "user_id IS NULL". */ key: Record; /** How many rows hold it. */ diff --git a/packages/metadata-protocol/src/migrations/sys-setting-identity-index.live-mysql.test.ts b/packages/metadata-protocol/src/migrations/sys-setting-identity-index.live-mysql.test.ts index fc224770286..26a73c2930e 100644 --- a/packages/metadata-protocol/src/migrations/sys-setting-identity-index.live-mysql.test.ts +++ b/packages/metadata-protocol/src/migrations/sys-setting-identity-index.live-mysql.test.ts @@ -175,7 +175,7 @@ describe.skipIf(!MYSQL_URL)('#9434 the sys_setting duplicate probe on a LIVE MyS const [rows] = await conn.query(buildSysSettingDuplicateProbeSqlMysql()); expect(rows).toEqual([ { - organization_id_key: 'org_jia', + organization_id: 'org_jia', namespace: 'lifecycle', key: 'retention_overrides', scope: 'tenant',