use proxied schema_version so that people can override it
Arthur Axel 'fREW' Schmidt [Wed, 28 Apr 2010 15:56:04 +0000 (10:56 -0500)]
lib/DBIx/Class/DeploymentHandler/Dad.pm

index fe8656b..974884e 100644 (file)
@@ -24,7 +24,7 @@ has to_version => (
   lazy_build => 1,
 );
 
-sub _build_to_version { $_[0]->schema->schema_version }
+sub _build_to_version { $_[0]->schema_version }
 
 has schema_version => (
   is         => 'ro',