Ensure that the current value of the sequence should be ignored while comparing using schema diff. Fixes #6144

This commit is contained in:
Akshay Joshi
2021-01-21 14:18:06 +05:30
parent 91ca746c27
commit 3e09f1bf40
2 changed files with 3 additions and 0 deletions
@@ -118,6 +118,8 @@ class SequenceView(PGChildNodeView, SchemaDiffObjectCompare):
'dependent': [{'get': 'dependents'}]
})
keys_to_ignore = ['oid', 'oid-2', 'schema', 'current_value']
def check_precondition(action=None):
"""
This function will behave as a decorator which will checks