|
24 | 24 | * 2. The footer offers `--allow-destructive` only for a destructive entry the |
25 | 25 | * database can apply, and names how many listed entries it cannot. |
26 | 26 | * 3. CONTROL: a driver that declares nothing reads exactly as before. |
27 | | - * 4. The `--json` document is the report, unchanged: the same keys, and each |
28 | | - * entry's message as the differ wrote it. |
| 27 | + * 4. The `--json` document is the report, unchanged: the same keys (the |
| 28 | + * ADR-0131 D1 `nullableTenantColumns` advisory among them, which these |
| 29 | + * limits do not move), and each entry's message as the differ wrote it. |
29 | 30 | * |
30 | 31 | * `bootSchemaStack` is stubbed, so this runs without a database; the same |
31 | 32 | * cases run against a real `sqld` in `apply.remote-face.integration.test.ts`. |
@@ -245,7 +246,7 @@ describe('a driver that declares what its apply door cannot perform', () => { |
245 | 246 | const { payload, exitCode } = await run(['--json']); |
246 | 247 | expect(exitCode).toBe(0); |
247 | 248 | expect(Object.keys(payload).sort()).toEqual( |
248 | | - ['changes', 'database', 'databaseSource', 'duration', 'managedTables', 'pending', 'schemaSync', 'total', 'unmanagedTables'], |
| 249 | + ['changes', 'database', 'databaseSource', 'duration', 'managedTables', 'nullableTenantColumns', 'pending', 'schemaSync', 'total', 'unmanagedTables'], |
249 | 250 | ); |
250 | 251 | expect(payload.changes.map((c: Entry) => c.message)).toEqual([DROP.message, TIGHTEN.message, RELAX.message]); |
251 | 252 | }, CASE_TIMEOUT_MS); |
@@ -430,7 +431,7 @@ describe('#24925 — a database the organization-ownership ceremony has not veri |
430 | 431 | const { payload, exitCode } = await run(['--json']); |
431 | 432 | expect(exitCode).toBe(0); |
432 | 433 | expect(Object.keys(payload).sort()).toEqual( |
433 | | - ['changes', 'database', 'databaseSource', 'duration', 'managedTables', 'pending', 'total', 'unmanagedTables'], |
| 434 | + ['changes', 'database', 'databaseSource', 'duration', 'managedTables', 'nullableTenantColumns', 'pending', 'total', 'unmanagedTables'], |
434 | 435 | ); |
435 | 436 | expect(payload.changes.map((c: Entry) => c.message)).toEqual([INDEX.message, ORG_JOB.message, LEGACY.message]); |
436 | 437 | expect(getService).not.toHaveBeenCalled(); |
|
0 commit comments