fixes add_index on migration