X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FDeploymentHandler%2FDad.pm;h=af14267b88e4553079a3736db45b60e965b0e5fb;hp=db9eaec477d54fbcfa814b7888049f6183a91837;hb=c8c8cb14808f8faa08c423d3520fdfaff2dcc39e;hpb=c75b871a6f82b51175a60d98e18f4b9876850510 diff --git a/lib/DBIx/Class/DeploymentHandler/Dad.pm b/lib/DBIx/Class/DeploymentHandler/Dad.pm index db9eaec..af14267 100644 --- a/lib/DBIx/Class/DeploymentHandler/Dad.pm +++ b/lib/DBIx/Class/DeploymentHandler/Dad.pm @@ -46,7 +46,7 @@ sub install { croak 'Install not possible as versions table already exists in database' if $self->version_storage_is_installed; - my $ddl = $self->deploy; + my $ddl = $self->deploy({version=>$self->to_version}); $self->add_database_version({ version => $self->to_version,