X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FWithSqltDeployMethod.pm;fp=lib%2FDBIx%2FClass%2FDeploymentHandler%2FWithSqltDeployMethod.pm;h=80fbf7771f8dc699c064e6209739608bddef9ac9;hb=02a7b8ac7ff6775fa47f26d22a825d024637a1a6;hp=8b3f5cc11cb683d5e9480a33ef3e845de749a401;hpb=b97b5725b3af80f7e540f06c9d3c68cb73706bf6;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm b/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm index 8b3f5cc..80fbf77 100644 --- a/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm +++ b/lib/DBIx/Class/DeploymentHandler/WithSqltDeployMethod.pm @@ -26,7 +26,7 @@ has databases => ( default => sub { [qw( MySQL SQLite PostgreSQL )] }, ); -has sqltargs => ( +has sql_translator_args => ( isa => 'HashRef', is => 'ro', default => sub { {} }, @@ -35,10 +35,10 @@ has sqltargs => ( sub _build_deploy_method { my $self = shift; my $args = { - schema => $self->schema, - databases => $self->databases, - upgrade_directory => $self->upgrade_directory, - sqltargs => $self->sqltargs, + schema => $self->schema, + databases => $self->databases, + upgrade_directory => $self->upgrade_directory, + sql_translator_args => $self->sql_translator_args, }; $args->{schema_version} = $self->schema_version if $self->has_schema_version;