X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FDeprecated%2FWithDeprecatedSqltDeployMethod.pm;h=2eba6a1ac5894fe14ec696642a4ef08f9f7eb56e;hb=36821446c34719fc2db68bc53f18b4eef20d2aa7;hp=4eb2dbad654119e4304d7de2deb95fa22b4f1e58;hpb=e52174e31b95fe335f6ab8cfdbf23cc2a0c05673;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 4eb2dba..2eba6a1 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,10 +35,10 @@ 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, }); } @@ -46,3 +48,15 @@ sub _build_deploy_method { __END__ +=head1 DEPRECATED + +This component has been suplanted by +L. +In the next major version (1) we will begin issuing a warning on it's use. +In the major version after that (2) we will remove it entirely. + +=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