|
|
@ -2236,14 +2236,14 @@ export default async ( |
|
|
|
const recordsMap = {}; |
|
|
|
const recordsMap = {}; |
|
|
|
|
|
|
|
|
|
|
|
for (let i = 0; i < ncTblList.list.length; i++) { |
|
|
|
for (let i = 0; i < ncTblList.list.length; i++) { |
|
|
|
|
|
|
|
// not a migrated table, skip
|
|
|
|
|
|
|
|
if (undefined === aTblSchema.find((x) => x.name === ncTblList.list[i].title)) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
const _perfStart = recordPerfStart(); |
|
|
|
const _perfStart = recordPerfStart(); |
|
|
|
const ncTbl = await api.dbTable.read(ncTblList.list[i].id); |
|
|
|
const ncTbl = await api.dbTable.read(ncTblList.list[i].id); |
|
|
|
recordPerfStats(_perfStart, 'dbTable.read'); |
|
|
|
recordPerfStats(_perfStart, 'dbTable.read'); |
|
|
|
|
|
|
|
|
|
|
|
// not a migrated table, skip
|
|
|
|
|
|
|
|
if (undefined === aTblSchema.find((x) => x.name === ncTbl.title)) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
recordCnt = 0; |
|
|
|
recordCnt = 0; |
|
|
|
// await nocoReadData(syncDB, ncTbl);
|
|
|
|
// await nocoReadData(syncDB, ncTbl);
|
|
|
|
|
|
|
|
|
|
|
@ -2264,7 +2264,12 @@ export default async ( |
|
|
|
|
|
|
|
|
|
|
|
logBasic('Configuring Record Links...'); |
|
|
|
logBasic('Configuring Record Links...'); |
|
|
|
for (let i = 0; i < ncTblList.list.length; i++) { |
|
|
|
for (let i = 0; i < ncTblList.list.length; i++) { |
|
|
|
|
|
|
|
// not a migrated table, skip
|
|
|
|
|
|
|
|
if (undefined === aTblSchema.find((x) => x.name === ncTblList.list[i].title)) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
const ncTbl = await api.dbTable.read(ncTblList.list[i].id); |
|
|
|
const ncTbl = await api.dbTable.read(ncTblList.list[i].id); |
|
|
|
|
|
|
|
|
|
|
|
rtc.data.nestedLinks += await importLTARData({ |
|
|
|
rtc.data.nestedLinks += await importLTARData({ |
|
|
|
table: ncTbl, |
|
|
|
table: ncTbl, |
|
|
|
projectName: syncDB.projectName, |
|
|
|
projectName: syncDB.projectName, |
|
|
|