Comment on Junior dev's code worked in tests, deleted data in prod
TehPers@beehaw.org 6 days ago
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.
chahk@beehaw.org 6 days ago
If you didn’t take prod down at least once in your career, are you even a developer?
floofloof@lemmy.ca 6 days ago
I remember learning about operator precedence in SQL the hard way at 4pm on a Friday.