Correct indexes for migrations.