FIX: Add migrations to fix index on category slugs (PR #8202)

Slugs can be the empty string, but the added index didn’t account for that. This commit changes the migration, stopping it from being unique so that it can be applied everywhere and adds another migration that recreates the index properly.

GitHub

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