From: Justin Hunter Date: Fri, 10 Jul 2009 22:56:51 +0000 (-0700) Subject: use Tie::IxHash X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6fd0169561042037da45031b7d8d69ac8a5bb6e0;p=dbsrgits%2FSQL-Translator-2.0-ish.git use Tie::IxHash --- diff --git a/lib/SQL/Translator/Object.pm b/lib/SQL/Translator/Object.pm index 75b160f..0a7e78d 100644 --- a/lib/SQL/Translator/Object.pm +++ b/lib/SQL/Translator/Object.pm @@ -1,5 +1,6 @@ package SQL::Translator::Object; use namespace::autoclean; use Moose; +use Tie::IxHash; 1; diff --git a/lib/SQL/Translator/Object/Table.pm b/lib/SQL/Translator/Object/Table.pm index b2c764b..5359c01 100644 --- a/lib/SQL/Translator/Object/Table.pm +++ b/lib/SQL/Translator/Object/Table.pm @@ -5,7 +5,6 @@ use MooseX::Types::Moose qw(HashRef Str); use MooseX::AttributeHelpers; use SQL::Translator::Types qw(Column Constraint Index Schema Sequence); use SQL::Translator::Object::Schema; -use Tie::IxHash; extends 'SQL::Translator::Object'; has 'name' => (