Skip to content

Commit

Permalink
rules: fix migrations failure due to list not flushed
Browse files Browse the repository at this point in the history
  • Loading branch information
sonicold authored and regit committed Jul 21, 2024
1 parent 12a0cff commit f3cd4c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/migrations/0101_rule_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def _suppressed(apps):
if len(suppressed):
SuppressedRuleAtVersion.objects.bulk_create(suppressed)
RuleTransformation.objects.filter(key='suppressed').delete()
suppressed = []


def migration(apps, _):
Expand Down

0 comments on commit f3cd4c9

Please sign in to comment.