X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FDeprecated%2FWithDeprecatedSqltDeployMethod.pm;h=edc18ab95c428c3cc6858490ad77b93cc50b34a4;hb=feca70da2cc034f1209e6990b25f15f4b723930d;hp=99912cd4baf8d09ff3e6b14da17a62f08deb0f06;hpb=cfc9edf93ec15cb3ae64af76905d96c89681f51b;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/Deprecated/WithDeprecatedSqltDeployMethod.pm b/lib/DBIx/Class/DeploymentHandler/Deprecated/WithDeprecatedSqltDeployMethod.pm index 99912cd..edc18ab 100644 --- a/lib/DBIx/Class/DeploymentHandler/Deprecated/WithDeprecatedSqltDeployMethod.pm +++ b/lib/DBIx/Class/DeploymentHandler/Deprecated/WithDeprecatedSqltDeployMethod.pm @@ -1,6 +1,8 @@ package DBIx::Class::DeploymentHandler::Deprecated::WithDeprecatedSqltDeployMethod; use Moose::Role; +# ABSTRACT: (DEPRECATED) Use this if you are stuck in the past + use DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::Deprecated; has deploy_method => ( @@ -24,7 +26,7 @@ has databases => ( default => sub { [qw( MySQL SQLite PostgreSQL )] }, ); -has sqltargs => ( +has sql_translator_args => ( isa => 'HashRef', is => 'ro', default => sub { {} }, @@ -33,15 +35,21 @@ has sqltargs => ( sub _build_deploy_method { my $self = shift; DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::Deprecated->new({ - 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, }); } 1; +# vim: ts=2 sw=2 expandtab + __END__ -vim: ts=2 sw=2 expandtab +=head1 DELEGATION ROLE + +This role is entirely for making delegation look like a role. The actual +docs for the methods and attributes are at +L