Ensure that If the trigger function definition is changed, drop and recreate the trigger in the schema diff. Fixes #7630

This commit is contained in:
Akshay Joshi committed 2022-08-22 11:56:11 +05:30
1 parent 8ca8cb9409
commit 56e2c9db97
2 files changed
+2 -2

No files matched your search

@@ -244,8 +244,7 @@ class TriggerView(PGChildNodeView, SchemaDiffObjectCompare):
})
# Schema Diff: Keys to ignore while comparing
keys_to_ignore = ['oid', 'xmin', 'nspname', 'tgrelid', 'tgfoid', 'prosrc',
'oid-2']
keys_to_ignore = ['oid', 'xmin', 'nspname', 'tgrelid', 'tgfoid', 'oid-2']
def check_precondition(f):
"""