old_slug = "south-georgia-and-south-sandwich-islands"
new_slug = "south-georgia-and-the-south-sandwich-islands"

world_location = WorldLocation.where(slug: old_slug)

Whitehall::SearchIndex.delete(world_location)

world_location.update_all(slug: new_slug)

old_slug = "south-georgia-and-south-sandwich-islands"
new_slug = "south-georgia-and-the-south-sandwich-islands"

world_location = WorldLocation.find_by(slug: old_slug)

Whitehall::SearchIndex.delete(world_location)

world_location.update_all(slug: new_slug)

Fix world location renaming data migration
Fix world location renaming data migration

This commit fixes the data migration for re-slugging South Georgia and the South Sandwich Islands to make sure `SearchIndex.delete` works.
