Fix migrations.