From: Luke Saunders Date: Thu, 28 Feb 2008 10:54:28 +0000 (+0000) Subject: hack bugfix for sqlt_type weirdness X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37fcb5b581b9a2ec511f7bb80df1b557710df0bd;p=dbsrgits%2FDBIx-Class-Historic.git hack bugfix for sqlt_type weirdness --- diff --git a/lib/DBIx/Class/Schema/Versioned.pm b/lib/DBIx/Class/Schema/Versioned.pm index 8095067..1506321 100644 --- a/lib/DBIx/Class/Schema/Versioned.pm +++ b/lib/DBIx/Class/Schema/Versioned.pm @@ -286,6 +286,12 @@ sub upgrade return; } + # strangely the first time this is called can + # differ to subsequent times. so we call it + # here to be sure. + # XXX - just fix it + $self->storage->sqlt_type; + my $upgrade_file = $self->ddl_filename( $self->storage->sqlt_type, $self->upgrade_directory,