FIX: Add unique index to prevent duplicate slugs for categories (PR #8190)

GitHub

You’ve signed the CLA, danielwaterworth. Thank you! This pull request is ready for review.