duckdb: rename column + skiptests

This commit is contained in:
Jan Prochazka
2025-04-28 13:06:26 +02:00
parent 06a919ff8d
commit b8d765d229
4 changed files with 16 additions and 3 deletions

View File

@@ -10,6 +10,10 @@ class Dumper extends SqlDumper {
renameTable(obj, newname) {
this.putCmd('^alter ^table %f ^rename ^to %i', obj, newname);
}
renameColumn(column, newcol) {
this.putCmd('^alter ^table %f ^rename %i ^to %i', column, column.columnName, newcol);
}
}
module.exports = Dumper;