pgadmin4
pgadmin4 copied to clipboard
Updating column name does not update it on the constraint include column
Describe the bug When creating a new table if the column name is changed and it is used inside the constraint include column it is not updated.
To Reproduce
Steps to reproduce the behavior:
- Start creating a table and add columns.
- Move to the constraint tab and create a constraint e.g. a Primary key.
- Select columns and include columns for the primary key.
- Move back to the columns tab and change the column names.
- Go to the constraint tab, the column name is updated but the include column is still old.
Expected behavior Column name should be updated on the include column field as well.
Screen recording
https://github.com/pgadmin-org/pgadmin4/assets/111979571/67506323-6900-42b6-b50e-297bcc5dcff6
Desktop (please complete the following information):
- Version:8.8
- Mode: Desktop