1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

made version comparison less strict

This commit is contained in:
romanb 2007-10-18 16:36:55 +00:00
parent 066e7d524f
commit 28dcf18508

View file

@ -324,7 +324,7 @@ class Doctrine_Migration
$to = $this->getLatestVersion(); $to = $this->getLatestVersion();
} }
if ($from === $to) { if ($from == $to) {
throw new Doctrine_Migration_Exception('Already up-to-date'); throw new Doctrine_Migration_Exception('Already up-to-date');
} }