Reactivating Mentees: Restoring Future Bookings in a Transaction
The Problem
In our landing project, we encountered a critical bug within the mentorship feature. When a mentee decided to unsubscribe, all their future scheduled sessions were correctly marked as 'Cancelled'. However, the reactivation process was incomplete. It would successfully reactivate the mentee's subscription status but crucially, it left all previously cancelled bookings in their