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