1 package DBIx::Class::DeploymentHandler::WithExplicitVersions;
4 use DBIx::Class::DeploymentHandler::VersionHandler::ExplicitVersions;
8 has version_handler => (
11 does => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
12 handles => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
15 sub _build_version_handler {
19 database_version => $self->database_version,
20 schema_version => $self->schema_version,
23 $args->{to_version} = $self->to_version if $self->has_to_version;
24 DBIx::Class::DeploymentHandler::VersionHandler::ExplicitVersions->new($args);
29 # vim: ts=2 sw=2 expandtab