mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 23:35:59 +00:00
alter table WIP
This commit is contained in:
@@ -102,7 +102,13 @@
|
||||
|
||||
function doSave(createTableName) {
|
||||
const driver = findEngineDriver($connection, $extensions);
|
||||
const sql = getAlterTableScript($editorValue.base, fillConstraintNames($editorValue.current), {}, $dbInfo, driver);
|
||||
const sql = getAlterTableScript(
|
||||
$editorValue.base,
|
||||
fillConstraintNames($editorValue.current, driver.dialect),
|
||||
{},
|
||||
$dbInfo,
|
||||
driver
|
||||
);
|
||||
|
||||
showModal(ConfirmSqlModal, {
|
||||
sql,
|
||||
|
||||
Reference in New Issue
Block a user