pg-differ icon indicating copy to clipboard operation
pg-differ copied to clipboard

Renaming a column (or table)

Open mitar opened this issue 4 years ago • 1 comments

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.)

mitar avatar Apr 27 '21 22:04 mitar

Oh, I see there is already formerNames in code. But there is nothing documented about it. So maybe just documentation is missing?

mitar avatar Apr 28 '21 01:04 mitar