From: Justin Hunter Date: Wed, 8 Jul 2009 01:45:44 +0000 (-0700) Subject: Column data_type is now an integer (DBI constant) not a freeform string X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=be49f9a9f70a1e75efbd87f39be11c07ea50b3e8;p=dbsrgits%2FSQL-Translator-2.0-ish.git Column data_type is now an integer (DBI constant) not a freeform string --- diff --git a/lib/SQL/Translator/Object/Column.pm b/lib/SQL/Translator/Object/Column.pm index a387566..b323dff 100644 --- a/lib/SQL/Translator/Object/Column.pm +++ b/lib/SQL/Translator/Object/Column.pm @@ -13,7 +13,7 @@ has 'name' => ( has 'data_type' => ( is => 'rw', - isa => Str, + isa => Int, required => 1 );