Revision history for {{$dist->name}}
{{$NEXT}}
+ - Fix the reasonable defaults for downgrading (jnap)
- Stop warning all the time (ribasushi)
- croak on a couple errors that should be fatal
- Stop deleting the wrong version (for downgrades)
my $args = shift || {};
- $args->{from_version} ||= $self->database_version;
- $args->{to_version} ||= $self->schema_version;
+ $args->{to_version} ||= $self->database_version;
+ $args->{from_version} ||= $self->schema_version;
$args->{version_set} ||= [$args->{from_version}, $args->{to_version}];
$self->$orig($args);
Defaulted args:
- my $from_version = $self->database_version;
- my $to_version = $self->schema_version;
- my $version_set = [$to_version];
+ my $from_version = $self->schema_version;
+ my $to_version = $self->data_version;
+ my $version_set = [$from_version, $to_version];
=head2 install_resultsource