First dev, seems like an honest mistake and not on them. They weren't properly informed of the schema, and seniors signed off before the script was run.
Second dev - it happens, but this is why backups are crucially important, and always test the code before running it on prod, even if it's a short script like this one.
This about summarizes the current executive branch. "Rogue judges" of course refers to judges that disagree with them.