From: Justin Hunter Date: Sun, 23 Aug 2009 06:58:56 +0000 (-0700) Subject: make action Any for the time being X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c53f984389a238a7b4d41d6ee4a29c3b8f764f0e;p=dbsrgits%2FSQL-Translator-2.0-ish.git make action Any for the time being --- diff --git a/lib/SQL/Translator/Object/Trigger.pm b/lib/SQL/Translator/Object/Trigger.pm index f7041b5..6696e62 100644 --- a/lib/SQL/Translator/Object/Trigger.pm +++ b/lib/SQL/Translator/Object/Trigger.pm @@ -1,6 +1,6 @@ use MooseX::Declare; class SQL::Translator::Object::Trigger { - use MooseX::Types::Moose qw(ArrayRef HashRef Str); + use MooseX::Types::Moose qw(Any ArrayRef HashRef Str); use MooseX::AttributeHelpers; use SQL::Translator::Types qw(Column); extends 'SQL::Translator::Object'; @@ -33,7 +33,7 @@ class SQL::Translator::Object::Trigger { has 'action' => ( is => 'rw', - isa => Str + isa => Any ); has 'perform_action_when' => (