(c: TableConfig)
| 75 | // The exact pre-change table reader (already canonical-first, but tableId was |
| 76 | // never written, so it fell through to the raw keys). |
| 77 | const legacyTableRead = (c: TableConfig) => c.tableId ?? c.tableSelector ?? c.manualTableId |
| 78 | // Mirror of the migration 0253 backfill for table (canonical key is distinct). |
| 79 | const backfillTable = (c: TableConfig): TableConfig => |
| 80 | c.tableId ? c : { ...c, tableId: c.tableSelector ?? c.manualTableId } |