From: Phillip Smith Date: Wed, 14 Mar 2012 19:17:09 +0000 (-0600) Subject: Fix stupid docs X-Git-Tag: v0.002110~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=commitdiff_plain;h=c50f464ee89ad9265bc608de04d6a686525311ef Fix stupid docs --- diff --git a/Changes b/Changes index 1479a61..c9331f4 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,7 @@ Revision history for {{$dist->name}} {{$NEXT}} - Use ->count instead of ->next to check if version storage is deployed (->next caused issues on MSSQL due to length of DDL) + - Fix a couple stupid documentation issues (Phillip Smith) 0.002100 2012-03-03 17:09:21 CST6CDT - Wrap upgrades, downgrades, and installs in a transaction, as a failure diff --git a/lib/DBIx/Class/DeploymentHandler.pm b/lib/DBIx/Class/DeploymentHandler.pm index 295a3f4..41a8210 100644 --- a/lib/DBIx/Class/DeploymentHandler.pm +++ b/lib/DBIx/Class/DeploymentHandler.pm @@ -193,7 +193,7 @@ Then you'll want to just install the version_storage: Then set your database version: - $dh->add_database_version({ version => $s->version }); + $dh->add_database_version({ version => $s->schema_version }); Now you should be able to use C like normal!