Fix transaction migration

The first one failed and mysql doesn't do alter statements
within a transaction. This commit is for fixing it on a second run.
The next commit will fix it up correctly.