Skip to content

Conversation

@willdurand
Copy link
Member

@willdurand willdurand requested a review from diox January 27, 2026 09:27
Copy link
Member

@diox diox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This failed for me locally because I had already done that manually and the uniqueness constraint (name + scanner) was violated. Do a exists() on the name + scanner first for each rule you're duplicating ?

(I'm not 100% convinced this is useful to do automatically anyway - ultimately, we will likely need human intervention to enable the right rules...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Add a migration to duplicate the customs scanner rules for webhook

3 participants