projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Correctly set the version deployed to the version requested on install
[dbsrgits/DBIx-Class-DeploymentHandler.git]
/
lib
/
DBIx
/
Class
/
DeploymentHandler
/
Dad.pm
diff --git
a/lib/DBIx/Class/DeploymentHandler/Dad.pm
b/lib/DBIx/Class/DeploymentHandler/Dad.pm
index
d9e4b27
..
f06336f
100644
(file)
--- a/
lib/DBIx/Class/DeploymentHandler/Dad.pm
+++ b/
lib/DBIx/Class/DeploymentHandler/Dad.pm
@@
-51,7
+51,7
@@
sub install {
my $ddl = $self->deploy({ version=> $version });
$self->add_database_version({
- version => $self->to_version,
+ version => $version,
ddl => $ddl,
});
});