mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 04:26:01 +00:00
SYNC: import model+data test
This commit is contained in:
committed by
Diflow
parent
963994b1e5
commit
20a1cc89ae
@@ -57,7 +57,7 @@ async function importDbFromFolder({ connection, systemConnection, driver, folder
|
||||
if (await fs.exists(fileName)) {
|
||||
const src = await jsonLinesReader({ fileName });
|
||||
const dst = await tableWriter({
|
||||
connection,
|
||||
systemConnection: dbhan,
|
||||
pureName: table.pureName,
|
||||
});
|
||||
await copyStream(src, dst);
|
||||
|
||||
Reference in New Issue
Block a user