1 package DBIx::Class::DeploymentHandler::WithMonotonicVersions;
4 use DBIx::Class::DeploymentHandler::VersionHandler::Monotonic;
6 has version_handler => (
9 does => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
10 handles => 'DBIx::Class::DeploymentHandler::HandlesVersioning',
13 sub _build_version_handler {
17 database_version => $self->database_version,
18 schema_version => $self->schema_version,
21 $args->{to_version} = $self->to_version if $self->has_to_version;
22 DBIx::Class::DeploymentHandler::VersionHandler::Monotonic->new($args);
29 vim: ts=2 sw=2 expandtab