pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Updating column name does not update it on the constraint include column

Open pravesh-sharma opened this issue 1 year ago • 0 comments

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:

  1. Start creating a table and add columns.
  2. Move to the constraint tab and create a constraint e.g. a Primary key.
  3. Select columns and include columns for the primary key.
  4. Move back to the columns tab and change the column names.
  5. 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

pravesh-sharma avatar Jun 24 '24 05:06 pravesh-sharma