Taking out the indexes from the migration