1 package DBIx::Class::DeploymentHandler::WithExplicitVersions;
4 # ABSTRACT: Delegate/Role for DBIx::Class::DeploymentHandler::VersionHandler::ExplicitVersions
6 use DBIx::Class::DeploymentHandler::VersionHandler::ExplicitVersions;
10 has version_handler => (
13 does => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
14 handles => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
17 sub _build_version_handler {
21 database_version => $self->database_version,
22 schema_version => $self->schema_version,
25 $args->{to_version} = $self->to_version if $self->has_to_version;
26 DBIx::Class::DeploymentHandler::VersionHandler::ExplicitVersions->new($args);
31 # vim: ts=2 sw=2 expandtab