mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Show icons for unique and exclusion constraints in the dependency/dependents panels. Fixes #2033
This commit is contained in:
committed by
Dave Page
parent
879a6bef53
commit
6e14bef801
@@ -497,9 +497,9 @@ class PGChildNodeView(NodeView):
|
||||
elif type_str[1] == 'p':
|
||||
type_name = 'primary_key'
|
||||
elif type_str[1] == 'u':
|
||||
type_name = 'unique'
|
||||
type_name = 'unique_constraint'
|
||||
elif type_str[1] == 'x':
|
||||
type_name = 'exclude'
|
||||
type_name = 'exclusion_constraint'
|
||||
elif type_str[0] == 'A':
|
||||
# Include only functions
|
||||
if row['adbin'].startswith('{FUNCEXPR'):
|
||||
|
||||
Reference in New Issue
Block a user