Add ability to run a migration in a transaction.