Generate slugs in data migration