X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FDad.pm;fp=lib%2FDBIx%2FClass%2FDeploymentHandler%2FDad.pm;h=db9eaec477d54fbcfa814b7888049f6183a91837;hb=cd09d23352318522ec8a8db7522bc4109ee6f583;hp=6c92ab253e7ba5db46851f236b2c187b3a1425ea;hpb=8d6d35e82d6a583dac11979c1a81a449c8385482;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/Dad.pm b/lib/DBIx/Class/DeploymentHandler/Dad.pm index 6c92ab2..db9eaec 100644 --- a/lib/DBIx/Class/DeploymentHandler/Dad.pm +++ b/lib/DBIx/Class/DeploymentHandler/Dad.pm @@ -91,7 +91,7 @@ sub downgrade { sub backup { my $self = shift; log_info { 'backing up' }; - $self->storage->backup($self->backup_directory) + $self->schema->storage->backup($self->backup_directory) } __PACKAGE__->meta->make_immutable;