Skip to content

Instantly share code, notes, and snippets.

@leedo
Created May 21, 2010 19:32
Show Gist options
  • Save leedo/409313 to your computer and use it in GitHub Desktop.
Save leedo/409313 to your computer and use it in GitHub Desktop.
--- lib/DBIx/Class/Admin.pm (revision 9414)
+++ lib/DBIx/Class/Admin.pm (working copy)
@@ -338,6 +338,7 @@
# schema is unversioned
$schema->throw_exception ("Could not determin current schema version, please either install() or deploy().\n");
} else {
+ $schema->upgrade_directory($self->sql_dir);
my $ret = $schema->upgrade();
return $ret;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment