But seriously, this wasn't the kid's fault. There are a number of layers that should have prevented this, including NOT PUTTING PRODUCTION CREDENTIALS IN AN ONBOARDING DOCUMENT.
If a Junior Software Developer can possibly destroy a production database on any day never mind the first, the fault is with the processes that allow this to happen rather than the new jr employee.