diff --git a/lib/Doctrine/Migration.php b/lib/Doctrine/Migration.php index 52f6508f3..23aa40409 100644 --- a/lib/Doctrine/Migration.php +++ b/lib/Doctrine/Migration.php @@ -324,7 +324,7 @@ class Doctrine_Migration $to = $this->getLatestVersion(); } - if ($from === $to) { + if ($from == $to) { throw new Doctrine_Migration_Exception('Already up-to-date'); }