Revision history for {{$dist->name}}
{{$NEXT}}
+ - Fix documentation for in the Cookbook (moltar)
0.001005 2011-04-13 15:21:08 CST6CDT
- Add _any "version" for running code for all versions
sub prepare_version_storage_install {
my $self = shift;
- $self->prepare_resultsource_install(
- $self->version_storage->version_rs->result_source
- );
+ $self->prepare_resultsource_install({
+ result_source => $self->version_storage->version_rs->result_source
+ });
}
sub install_version_storage {
my $self = shift;
- $self->install_resultsource(
- $self->version_storage->version_rs->result_source
- );
+ my $version = (shift || {})->{version} || $self->schema_version;
+ $self->install_resultsource({
+ result_source => $self->version_storage->version_rs->result_source,
+ version => $version,
+ });
}
sub prepare_install {