pg-differ
pg-differ copied to clipboard
Renaming a column (or table)
How to rename a column (or table)?
I think this project is great, but I could not find a way to rename a column (or table)? I think probably some option like oldNames could be provided for both columns and tables which would then rename them if Differ detects anything under the old name.
(This would not allow one to reuse the old name, but I think this is probably OK limitation for this project.)
Oh, I see there is already formerNames in code. But there is nothing documented about it. So maybe just documentation is missing?