Fix MySQL migrations.