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