X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FSqltDeployMethod.pm;h=1ba0e72c76c981e9a3d0d25325e5895c7289e262;hb=2eaf903b4450604819a24ee038ff2fc3a3302fed;hp=2f5ddab0c4f0245cbe81d4f000c7ee21788e9492;hpb=9d737292631c7149ccf16d34d261ef2fa1949b15;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm b/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm index 2f5ddab..1ba0e72 100644 --- a/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm +++ b/lib/DBIx/Class/DeploymentHandler/SqltDeployMethod.pm @@ -10,6 +10,12 @@ has storage => ( lazy_build => 1, ); +method _build_storage { + my $s = $self->schema->storage; + $s->_determine_driver; + $s +} + has backup_directory => ( isa => 'Str', is => 'ro', @@ -385,4 +391,4 @@ __PACKAGE__->meta->make_immutable; __END__ -vim: ts=2,sw=2,expandtab +vim: ts=2 sw=2 expandtab