ok($handler, 'DBIx::Class::DeploymentHandler w/1 instantiates correctly');
my $version = $s->schema_version;
- $handler->prepare_deploy;
+ $handler->prepare_install;
dies_ok {
$s->resultset('Foo')->create({
ok($handler, 'DBIx::Class::DeploymentHandler w/2 instantiates correctly');
my $version = $s->schema_version();
- $handler->prepare_deploy();
+ $handler->prepare_install;
dies_ok {
$s->resultset('Foo')->create({
bar => 'frew',
ok($handler, 'DBIx::Class::DeploymentHandler w/3 instantiates correctly');
my $version = $s->schema_version();
- $handler->prepare_deploy;
+ $handler->prepare_install;
dies_ok {
$s->resultset('Foo')->create({
bar => 'frew',
ok($handler, 'DBIx::Class::DeploymentHandler w/1 instantiates correctly');
my $version = $s->schema_version;
- $handler->prepare_deploy;
+ $handler->prepare_install;
dies_ok {
$s->resultset('Foo')->create({
ok($handler, 'DBIx::Class::DeploymentHandler w/2 instantiates correctly');
my $version = $s->schema_version();
- $handler->prepare_deploy();
+ $handler->prepare_install;
$handler->prepare_upgrade({ from_version => 1, to_version => $version });
dies_ok {
$s->resultset('Foo')->create({
ok($handler, 'DBIx::Class::DeploymentHandler w/3 instantiates correctly');
my $version = $s->schema_version();
- $handler->prepare_deploy;
+ $handler->prepare_install;
$handler->prepare_upgrade({ from_version => 2, to_version => $version });
dies_ok {
$s->resultset('Foo')->create({
ok($handler, 'DBIx::Class::DeploymentHandler w/1 instantiates correctly');
my $version = $s->schema_version;
- $handler->prepare_deploy;
+ $handler->prepare_install;
dies_ok {
$s->resultset('Foo')->create({
ok($handler, 'DBIx::Class::DeploymentHandler w/2 instantiates correctly');
my $version = $s->schema_version();
- $handler->prepare_deploy();
+ $handler->prepare_install;
$handler->prepare_upgrade({ from_version => 1, to_version => $version} );
dies_ok {
$s->resultset('Foo')->create({
ok($handler, 'DBIx::Class::DeploymentHandler w/3 instantiates correctly');
my $version = $s->schema_version();
- $handler->prepare_deploy;
+ $handler->prepare_install;
$handler->prepare_upgrade({ from_version => 2, to_version => $version });
dies_ok {
$s->resultset('Foo')->create({