---
name: "DBIx::Class::DeploymentHandler::WithReasonableDefaults"
section: "3pm"
platform: "linux"
package: "libdbix-class-deploymenthandler-perl"
version: "0.002234-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/DBIx::Class::DeploymentHandler::WithReasonableDefaults"
---

# DBIx::Class::DeploymentHandler::WithReasonableDefaults(3pm)

Make default arguments to a few methods sensible

## 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->initial_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) 2024 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.
