Rog NotJane
LIFE MEMBER
Looks like he's a VCThis guy appears to have zero experience of developing software by the sounds of it.

Didn't you read, he was vibe coding dude. All that stuff is so 2020s.The dev environment should NEVER have access to the production database.
Why wasn't he using git to make commits at each stage?
Why wasn't he running this in a Docker or LXC container?
Why doesn't he have a ZFS filing system for his data and take regular snapshots.
Any of these would have saved him and are all things that experienced devs do by default (or a combination of a few of them).