1 package DBIx::Class::DeploymentHandler::Deprecated::WithDeprecatedSqltDeployMethod;
4 # ABSTRACT: (DEPRECATED) Use this if you are stuck in the past
6 use DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::Deprecated;
9 does => 'DBIx::Class::DeploymentHandler::HandlesDeploy',
12 handles => 'DBIx::Class::DeploymentHandler::HandlesDeploy',
15 has upgrade_directory => (
24 isa => 'DBIx::Class::DeploymentHandler::Databases',
26 default => sub { [qw( MySQL SQLite PostgreSQL )] },
29 has sql_translator_args => (
32 default => sub { {} },
35 sub _build_deploy_method {
37 DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::Deprecated->new({
38 schema => $self->schema,
39 databases => $self->databases,
40 upgrade_directory => $self->upgrade_directory,
41 sql_translator_args => $self->sql_translator_args,
47 # vim: ts=2 sw=2 expandtab
51 =head1 DELEGATION ROLE
53 This role is entirely for making delegation look like a role. The actual
54 docs for the methods and attributes are at
55 L<DBIx::Class::DeploymentHandler::DeployMethod::SQL::Translator::Deprecated>