The system uses cascade deletion for safety:
Process:
- System first deletes all contacts within the groups
- Then deletes the empty groups
Why cascade deletion:
- Prevents orphaned contacts (contacts without groups)
- Maintains database integrity
- Ensures clean removal
In the Export:
- Each contact row includes its group name and group ID
- Allows you to restore the full group structure if needed
Example:
- User has 5 groups with 1,000 contacts total
- Delete operation removes all 1,000 contacts first
- Then removes the 5 empty groups
- Export file shows all 1,000 contacts with their group assignments