From: Arthur Axel 'fREW' Schmidt Date: Mon, 22 Feb 2010 16:56:07 +0000 (-0600) Subject: fix _build_storage as per ribasushis suggestions X-Git-Tag: v0.001000_01~160 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7eec7eb7f143f2af5f24558da106d5098a58f116;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git fix _build_storage as per ribasushis suggestions --- diff --git a/lib/DBIx/Class/DeploymentHandler.pm b/lib/DBIx/Class/DeploymentHandler.pm index a8380a7..0b176bd 100644 --- a/lib/DBIx/Class/DeploymentHandler.pm +++ b/lib/DBIx/Class/DeploymentHandler.pm @@ -32,7 +32,11 @@ has storage => ( lazy_build => 1, ); -method _build_storage { $self->schema->storage } +method _build_storage { + my $s = $self->schema->storage; + $s->_determine_driver; + $s +} has _filedata => ( isa => 'Str',