X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FDeployMethod%2FSQL%2FTranslator.pm;h=7a0d7e93cba61469f875fa7fc297e4c6eb7c53e6;hb=fe048ee301e219d737307f2b30e3bd88a7128df6;hp=cee797faf54556ebb9e06912e9d41d5a19fe76fa;hpb=32bd7c454317d19db26bd3034a1d0ca9eabd55db;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm index cee797f..7a0d7e9 100644 --- a/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm +++ b/lib/DBIx/Class/DeploymentHandler/DeployMethod/SQL/Translator.pm @@ -38,7 +38,6 @@ has force_overwrite => ( ); has schema => ( - isa => 'DBIx::Class::Schema', is => 'ro', required => 1, ); @@ -309,7 +308,7 @@ END_EVAL croak $@ if $@; - croak "$_file should define an anonymouse sub that takes a schema but it didn't!" + croak "$_file should define an anonymous sub that takes a schema but it didn't!" unless ref $fn && ref $fn eq 'CODE'; return $fn;