mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 16:25:59 +00:00
fix
This commit is contained in:
@@ -448,7 +448,7 @@ module.exports = {
|
|||||||
: outputFolder;
|
: outputFolder;
|
||||||
|
|
||||||
const model = await this.structure({ conid, database });
|
const model = await this.structure({ conid, database });
|
||||||
await exportDbModel(model, realFolder);
|
await exportDbModel(extendDatabaseInfo(model), realFolder);
|
||||||
|
|
||||||
if (outputFolder.startsWith('archive:')) {
|
if (outputFolder.startsWith('archive:')) {
|
||||||
socket.emitChanged(`archive-files-changed`, { folder: outputFolder.substring('archive:'.length) });
|
socket.emitChanged(`archive-files-changed`, { folder: outputFolder.substring('archive:'.length) });
|
||||||
@@ -464,7 +464,7 @@ module.exports = {
|
|||||||
const driver = requireEngineDriver(connection);
|
const driver = requireEngineDriver(connection);
|
||||||
|
|
||||||
const model = await this.structure({ conid, database });
|
const model = await this.structure({ conid, database });
|
||||||
await exportDbModelSql(model, driver, outputFolder, outputFile);
|
await exportDbModelSql(extendDatabaseInfo(model), driver, outputFolder, outputFile);
|
||||||
|
|
||||||
return { status: 'ok' };
|
return { status: 'ok' };
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user