XP MIGRATION
Recalculate all user levels from actual activity logs
What this does
Reads all WorkoutSession, ActivityLog, and SleepLog records per user
Recalculates Strength, Cardio, Diet, and Recovery XP from actual logs
Recalculates all levels using the standard XP formula
Overwrites corrupted or inflated level/XP values
Safe to run multiple times — idempotent
Single User (optional)
Migrate This User
Migrate ALL Users