Commit 28dcf185 authored by romanb's avatar romanb

made version comparison less strict

parent 066e7d52
......@@ -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');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment