diff --git a/lib/SQL/Translator/Schema/Trigger.pm b/lib/SQL/Translator/Schema/Trigger.pm index bf7e0e73..03160ee6 100644 --- a/lib/SQL/Translator/Schema/Trigger.pm +++ b/lib/SQL/Translator/Schema/Trigger.pm @@ -356,7 +356,7 @@ around equals => sub { return $self->error('Names not equal'); } - if (!$self->perform_action_when eq $other->perform_action_when) { + if ($self->perform_action_when ne $other->perform_action_when) { return $self->error('perform_action_when differs'); }