From: Jess Robinson Date: Mon, 22 May 2006 14:32:54 +0000 (+0000) Subject: Ensure connected so we get the correct DBI::Foo type X-Git-Tag: v0.08240~406^2~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dd3747f6dc5ec98f9dc96add77295decc1f634bf;p=dbsrgits%2FDBIx-Class.git Ensure connected so we get the correct DBI::Foo type --- diff --git a/lib/DBIx/Class/Schema/Versioned.pm b/lib/DBIx/Class/Schema/Versioned.pm index d98b024..795562a 100644 --- a/lib/DBIx/Class/Schema/Versioned.pm +++ b/lib/DBIx/Class/Schema/Versioned.pm @@ -60,6 +60,7 @@ sub on_connect { # print "deploying.. \n"; $vschema->storage->debug(1); + $vschema->storage->ensure_connected(); # print "Debugging is: ", $vschema->storage->debug, "\n"; $vschema->deploy(); $pversion = 0;