No need to check what DBICDH does for us
Arthur Axel 'fREW' Schmidt [Thu, 15 Jul 2010 02:31:07 +0000 (21:31 -0500)]
lib/DBIx/Class/DeploymentHandler/Manual/CatalystIntro.pod

index 59d6f53..308cbf9 100644 (file)
@@ -100,10 +100,9 @@ C<deploymentintro_dbicdh.pl>
  }
 
  sub upgrade {
-   die "Please set the version in Schema.pm"
-     unless $dh->schema->schema_version;
    die "Please update the version in Schema.pm"
      if ( $dh->version_storage->version_rs->search({version => $dh->schema_version})->count );
+
    die "We only support positive integers for versions around these parts."
      unless $dh->schema_version =~ /^\d+$/;