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

pull/39/head
Akshay Joshi 2021-01-21 14:18:06 +05:30
parent 91ca746c27
commit 3e09f1bf40
2 changed files with 3 additions and 0 deletions

View File

@ -52,3 +52,4 @@ Bug fixes
| `Issue #6122 <https://redmine.postgresql.org/issues/6122>`_ - Added informative message when there is no difference found for schema diff.
| `Issue #6128 <https://redmine.postgresql.org/issues/6128>`_ - Fixed an issue where sequences are not created.
| `Issue #6140 <https://redmine.postgresql.org/issues/6140>`_ - Ensure that verbose logs should be visible for Utility(Backup, Maintenance) jobs.
| `Issue #6144 <https://redmine.postgresql.org/issues/6144>`_ - Ensure that the current value of the sequence should be ignored while comparing using schema diff.

View File

@ -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