Show icons for unique and exclusion constraints in the dependency/dependents panels. Fixes #2033

This commit is contained in:
Surinder Kumar
2017-01-08 15:27:58 +05:30
committed by Dave Page
parent 879a6bef53
commit 6e14bef801
+2 -2
View File
@@ -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'):