mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 03:16:01 +00:00
rename sql object oracle
This commit is contained in:
@@ -126,6 +126,10 @@ class Dumper extends SqlDumper {
|
||||
this.putCmd('^alter ^table %f ^rename ^to %i', obj, newname);
|
||||
}
|
||||
|
||||
renameSqlObject(obj, newname) {
|
||||
this.putCmd('^rename %f ^to %i', obj, newname);
|
||||
}
|
||||
|
||||
// putValue(value) {
|
||||
// if (value === true) this.putRaw('true');
|
||||
// else if (value === false) this.putRaw('false');
|
||||
|
||||
@@ -37,6 +37,7 @@ const dialect = {
|
||||
dropUnique: true,
|
||||
createCheck: true,
|
||||
dropCheck: true,
|
||||
renameSqlObject: true,
|
||||
|
||||
dropReferencesWhenDropTable: true,
|
||||
requireFromDual: true,
|
||||
|
||||
Reference in New Issue
Block a user