mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 09:36:01 +00:00
rename view/procedure/function
This commit is contained in:
@@ -748,6 +748,8 @@ export function createAlterDatabasePlan(
|
||||
plan.recreates.sqlObjects += 1;
|
||||
plan.dropSqlObject(oldobj);
|
||||
plan.createSqlObject(newobj);
|
||||
} else if (!testEqualFullNames(oldobj, newobj, opts)) {
|
||||
plan.renameSqlObject(oldobj, newobj.pureName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user