X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FVersionHandler%2FExplicitVersions.pm;fp=lib%2FDBIx%2FClass%2FDeploymentHandler%2FVersionHandler%2FExplicitVersions.pm;h=eb01339423ad123c5629970654d223b83552ef62;hb=5232e8d04a56e0c706c5813053caf07e739d2b7c;hp=396e9343385c930dbc7b6403d227b27724f1891e;hpb=a091f53c3e9be074a89b6827f9a0bc4aac549ec9;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git diff --git a/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm b/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm index 396e934..eb01339 100644 --- a/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm +++ b/lib/DBIx/Class/DeploymentHandler/VersionHandler/ExplicitVersions.pm @@ -16,10 +16,9 @@ has database_version => ( required => 1, ); -has to_version => ( # configuration +has to_version => ( is => 'ro', - lazy_build => 1, # builder comes from another role... - # which is... probably not how we want it + lazy_build => 1, ); sub _build_to_version { $_[0]->schema_version }