From: Justin Hunter Date: Wed, 22 Sep 2010 15:44:30 +0000 (-0700) Subject: move from Bool to Bit X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=66daa43aa7f23ebbd157716d975f2f7cf0043330;hp=e544f369a3ebeed9a327630e009be53794da8151;p=dbsrgits%2FSQL-Translator-2.0-ish.git move from Bool to Bit --- diff --git a/lib/SQL/Translator/Object/Column.pm b/lib/SQL/Translator/Object/Column.pm index aaee8ea..4cf4f81 100644 --- a/lib/SQL/Translator/Object/Column.pm +++ b/lib/SQL/Translator/Object/Column.pm @@ -1,6 +1,6 @@ use MooseX::Declare; class SQL::Translator::Object::Column extends SQL::Translator::Object is dirty { - use MooseX::Types::Moose qw(Bool Int Maybe ScalarRef Str); + use MooseX::Types::Moose qw(Int Maybe ScalarRef Str); use MooseX::MultiMethods; use SQL::Translator::Types qw(Bit Constraint Table Trigger); clean; @@ -64,7 +64,7 @@ class SQL::Translator::Object::Column extends SQL::Translator::Object is dirty { has 'is_unique' => ( is => 'rw', - isa => Bool, + isa => Bit, default => 0, ); @@ -83,13 +83,13 @@ class SQL::Translator::Object::Column extends SQL::Translator::Object is dirty { has 'is_primary_key' => ( is => 'rw', - isa => Bool, + isa => Bit, default => 0 ); has 'is_foreign_key' => ( is => 'rw', - isa => Bool, + isa => Bit, default => 0 );