Correctly set the version deployed to the version requested on install
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / Dad.pm
index d9e4b27..f06336f 100644 (file)
@@ -51,7 +51,7 @@ sub install {
      my $ddl = $self->deploy({ version=> $version });
 
      $self->add_database_version({
-       version     => $self->to_version,
+       version     => $version,
        ddl         => $ddl,
      });
   });