mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 21:16:00 +00:00
recreate object warning
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
|
||||
function doSave(createTableName) {
|
||||
const driver = findEngineDriver($connection, $extensions);
|
||||
const sql = getAlterTableScript(
|
||||
const { sql, recreates } = getAlterTableScript(
|
||||
$editorValue.base,
|
||||
fillConstraintNames($editorValue.current, driver.dialect),
|
||||
{},
|
||||
@@ -112,6 +112,7 @@
|
||||
|
||||
showModal(ConfirmSqlModal, {
|
||||
sql,
|
||||
recreates,
|
||||
onConfirm: () => {
|
||||
handleConfirmSql(sql, createTableName);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user