old_slug = "digital-academy"
new_slug = "gds-academy"

group = PolicyGroup.find_by!(slug: old_slug)

Whitehall::SearchIndex.delete(group)

group.update_attributes!(slug: new_slug)

Whitehall::PublishingApi.republish_async(group)
Whitehall::SearchIndex.add(group)

puts "#{old_slug} -> #{new_slug}"

Add a migration to rename digital-academy policy group
Add a migration to rename digital-academy policy group

It has been requested that this is renamed to gds-academy.
