Fixed an issue where custom sequences are not visible when show system objects are set to false. Fixes #5833

This commit is contained in:
Akshay Joshi
2020-09-15 12:58:43 +05:30
parent 7dca844cbe
commit 324e3e74be
2 changed files with 3 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ class SequenceView(PGChildNodeView, SchemaDiffObjectCompare):
show_system_objects=True)
seq = [dep for dep in system_seq
if dep['type'] == 'column' and dep['field'] == 'internal']
if not seq:
if len(seq) > 0:
continue
# Append the node into the newly created list