NAME
DBIx::Class::DeploymentHandler::WithReasonableDefaults - Make default arguments to a few methods sensible
CONVENIENCE
The whole point of this role is to set defaults for arguments of various methods. It's a little awesome.
METHODS
prepare_upgrade
Defaulted args:
my $from_version = $self->database_version;
my $to_version = $self->schema_version;
my $version_set = [$from_version, $to_version];
prepare_downgrade
Defaulted args:
my $from_version = $self->database_version;
my $to_version = $self->schema_version;
my $version_set = [$to_version];
install_resultsource
Defaulted args:
my $version = $self->to_version;
AUTHOR
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.