Ensure connected so we get the correct DBI::Foo type
Jess Robinson [Mon, 22 May 2006 14:32:54 +0000 (14:32 +0000)]
lib/DBIx/Class/Schema/Versioned.pm

index d98b024..795562a 100644 (file)
@@ -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;