doctrine/migrations — pull request #80 by thanosp (2012-07-05 17:32:11+00:00)
Title: Refactored the migrate code and fixed minor bugs.

Added immediate return calls when the user decides not to go through with the migration, right after a message is printed.
On the first case(unregistered migrations) input was just ignored.
On the second $sql was never set.
Cleaned up the nested if statements to make the code more readable and maintainable.