set autocommit to on before migrations