package DBIx::Class::DeploymentHandler::VersionHandler::ExplicitVersions;
use Moose;
+
+# ABSTRACT: Define your own list of versions to use for migrations
+
use Carp 'croak';
with 'DBIx::Class::DeploymentHandler::HandlesVersioning';
has to_version => (
is => 'ro',
+ isa => 'Str',
lazy_build => 1,
);
} else {
my $next_idx = $self->_dec_version_idx;
return [
- $self->ordered_versions->[$next_idx ],
$self->ordered_versions->[$next_idx + 1],
+ $self->ordered_versions->[$next_idx ],
];
}
}