projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2282911
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Versioned.pm
b/lib/DBIx/Class/Schema/Versioned.pm
index
d98b024
..
795562a
100644
(file)
--- 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;