From 7b1ad5fa677a2b58fb1e4bc380a208bf390258bd Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Tue, 15 Apr 2025 11:46:12 +0530 Subject: [PATCH] Fixed an issue where changes to foreign key constraints were not detected in the schema diff. #8627 --- docs/en_US/release_notes_9_3.rst | 2 ++ .../servers/databases/schemas/tables/schema_diff_table_utils.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_9_3.rst b/docs/en_US/release_notes_9_3.rst index 9671dfaba..1ade30d83 100644 --- a/docs/en_US/release_notes_9_3.rst +++ b/docs/en_US/release_notes_9_3.rst @@ -21,6 +21,7 @@ New features ************ | `Issue #2767 `_ - Added ability to use SQL in the "DB Restriction" field. + | `Issue #7310 `_ - Add support for custom roles and role permissions management in pgAdmin. | `Issue #8629 `_ - Added support for font ligatures. Housekeeping @@ -36,6 +37,7 @@ Bug fixes | `Issue #8556 `_ - Ensure that graph data is updated even when the Dashboard tab is inactive. | `Issue #8572 `_ - Fixed an issue where Ctrl/Cmd+A in cell editor would select all rows. | `Issue #8613 `_ - Fixed an issue where drag and drop function with no parameters does not work. + | `Issue #8627 `_ - Fixed an issue where changes to foreign key constraints were not detected in the schema diff. | `Issue #8628 `_ - Change the shortcut for canceling a running query as it conflicts with the shortcut to open a new query tool. | `Issue #8630 `_ - Fixed an issue where filtering on a view caused an error. | `Issue #8632 `_ - Fixed an issue where the query tool went blank when converting history dates to the appropriate locale format. diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py index c384c816a..abe23fb56 100644 --- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py +++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/schema_diff_table_utils.py @@ -228,7 +228,7 @@ class SchemaDiffTableCompare(SchemaDiffObjectCompare): 'foreign_key': ['condeferrable', 'condeferred', 'confupdtype', 'confdeltype', 'confmatchtype', 'convalidated', - 'conislocal'] + 'conislocal', 'refnsp', 'reftab'] } for constraint in ['primary_key', 'unique_constraint',