Arthur Axel "fREW" Schmidt > DBIx-Class-DeploymentHandler > DBIx::Class::DeploymentHandler::WithReasonableDefaults

Download:
DBIx-Class-DeploymentHandler-0.002210.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.002210   Source  

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->schema_version;
  my $to_version   = $self->data_version;
  my $version_set  = [$from_version, $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) 2014 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.

syntax highlighting: