support for rename SQL object (mssql, postgres)

This commit is contained in:
Jan Prochazka
2024-10-31 10:48:32 +01:00
parent 2aed60390c
commit 81297383cb
12 changed files with 66 additions and 7 deletions

View File

@@ -175,5 +175,6 @@ MsSqlDumper.prototype.changeTriggerSchema = MsSqlDumper.prototype.changeObjectSc
MsSqlDumper.prototype.renameTable = MsSqlDumper.prototype.renameObject;
MsSqlDumper.prototype.changeTableSchema = MsSqlDumper.prototype.changeObjectSchema;
MsSqlDumper.prototype.renameSqlObject = MsSqlDumper.prototype.renameObject;
module.exports = MsSqlDumper;

View File

@@ -37,6 +37,7 @@ const dialect = {
dropUnique: true,
createCheck: true,
dropCheck: true,
renameSqlObject: true,
dropReferencesWhenDropTable: true,