Skip to content

Commit

Permalink
update comparators
Browse files Browse the repository at this point in the history
  • Loading branch information
cathteng committed Jan 8, 2025
1 parent 3f5fd08 commit 85b6474
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/sentry/backup/comparators.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,9 @@ def get_default_comparators() -> dict[str, list[JSONScrubbingComparator]]:
"workflow_engine.alertruletriggerdatacondition": [
DateUpdatedComparator("date_updated", "date_added")
],
"workflow_engine.workflowgroupstatus": [
DateUpdatedComparator("date_updated", "date_added")
],
"tempest.tempestcredentials": [
DateUpdatedComparator("date_updated", "date_added"),
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2025-01-07T23:27:23.102868+00:00'
created: '2025-01-08T01:44:09.625108+00:00'
creator: sentry
source: tests/sentry/backup/test_comparators.py
---
Expand Down Expand Up @@ -1799,6 +1799,10 @@ source: tests/sentry/backup/test_comparators.py
- workflow
model_name: workflow_engine.workflowdataconditiongroup
- comparators:
- class: DateUpdatedComparator
fields:
- date_added
- date_updated
- class: ForeignKeyComparator
fields:
- group
Expand Down

0 comments on commit 85b6474

Please sign in to comment.