get rid of useless || 0
[dbsrgits/DBIx-Class-DeploymentHandler.git] / lib / DBIx / Class / DeploymentHandler / VersionStorage / Standard / VersionResultSet.pm
index 52d73ec..79f06a3 100644 (file)
@@ -17,7 +17,7 @@ sub database_version {
   $self->search(undef, {
     order_by => { -desc => 'installed' },
     rows => 1
-  })->get_column('version')->next || 0;
+  })->get_column('version')->next;
 }
 
 1;