Index: Migration.php
===================================================================
--- Migration.php	(revision 7345)
+++ Migration.php	(working copy)
@@ -313,6 +313,9 @@
     public function migrate($to = null, $dryRun = false)
     {
         $this->clearErrors();
+
+        $this->_createMigrationTable();
+
         $this->_connection->beginTransaction();
 
         try {
@@ -463,8 +466,6 @@
      */
     protected function _doMigrate($to)
     {
-        $this->_createMigrationTable();
-
         $from = $this->getCurrentVersion();
 
         if ($from == $to) {
