mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 07:56:01 +00:00
import data fixes
This commit is contained in:
@@ -32,7 +32,7 @@ export function createBulkInsertStreamBase(driver: EngineDriver, stream, dbhan,
|
||||
};
|
||||
|
||||
writable.checkStructure = async () => {
|
||||
let structure = await driver.analyseSingleTable(dbhan, name);
|
||||
let structure = options.targetTableStructure ?? (await driver.analyseSingleTable(dbhan, name));
|
||||
if (structure) {
|
||||
writable.structure = structure;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user