From: Arthur Axel 'fREW' Schmidt Date: Wed, 28 Apr 2010 15:56:04 +0000 (-0500) Subject: use proxied schema_version so that people can override it X-Git-Tag: v0.001000_05~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed45e175a490befb264f8d20f3e5702b6b0b22aa;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git use proxied schema_version so that people can override it --- diff --git a/lib/DBIx/Class/DeploymentHandler/Dad.pm b/lib/DBIx/Class/DeploymentHandler/Dad.pm index fe8656b..974884e 100644 --- a/lib/DBIx/Class/DeploymentHandler/Dad.pm +++ b/lib/DBIx/Class/DeploymentHandler/Dad.pm @@ -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',