mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 20:43:58 +00:00
deploy db script fixed
This commit is contained in:
@@ -28,10 +28,17 @@
|
|||||||
tabComponent: 'ShellTab',
|
tabComponent: 'ShellTab',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
editor: `await dbgateApi.deployDb(${JSON.stringify({
|
editor: `await dbgateApi.deployDb(${JSON.stringify(
|
||||||
..._.omit($currentDatabase.connection, '_id', 'displayName'),
|
{
|
||||||
database: $currentDatabase.name,
|
connection: {
|
||||||
})}, 'archive:${data.name}')`,
|
..._.omit($currentDatabase.connection, '_id', 'displayName'),
|
||||||
|
database: $currentDatabase.name,
|
||||||
|
},
|
||||||
|
modelFolder: `archive:${data.name}`,
|
||||||
|
},
|
||||||
|
undefined,
|
||||||
|
2
|
||||||
|
)})`,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user