Fix variable names in migrations.