From: Arthur Axel 'fREW' Schmidt Date: Sat, 8 May 2010 18:49:25 +0000 (-0500) Subject: fix ExplicitVersions to downgrade in a sensible order X-Git-Tag: v0.001000_07~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b40fc0663f93e3b9c407bb4a562d8cfe592d9b98;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git fix ExplicitVersions to downgrade in a sensible order --- diff --git a/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm b/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm index 2661cac..0781c43 100644 --- a/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm +++ b/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm @@ -93,8 +93,8 @@ sub previous_version_set { } 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 ], ]; } }