Migrations, insert schema migrations inside a transaction