better column mapping

This commit is contained in:
SPRINX0\prochazka
2024-09-26 12:39:29 +02:00
parent 29072eb71b
commit 7549d37a04
2 changed files with 11 additions and 2 deletions

View File

@@ -27,6 +27,13 @@
skip: false,
}));
}
if (targetTableInfo && !sourceTableInfo) {
return targetTableInfo.columns.map(x => ({
src: x.columnName,
dst: x.columnName,
skip: false,
}));
}
return [];
}