Added unique constraints and slugs to many entities