Fixed an issue where changing the columns in the existing view throws an error. Fixes #5053
PostgreSQL doesn't allow to change the view columns. So the view should be dropped first
and then recreate it and also the user will get a warning first.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f4607885e1ed975cfb345b1c52ea2be6084c28d4
Author: Khushboo Vashi <khushboo.vashi@enterprisedb.com>
Modified Files
--------------
docs/en_US/release_notes_4_21.rst | 1 +
.../servers/databases/schemas/views/__init__.py | 50 ++++++++++++++++------
.../databases/schemas/views/static/js/view.js | 27 +++++++++++-
3 files changed, 65 insertions(+), 13 deletions(-)