Always check when things can go to production, I once worked at an older job that was migrating to Git at the time.
One project was still on a NAS (Networked Attached Storage) Someone created a debug truncate SQL line somewhere in the file I was working, which wasn't in production yet.
So when I started working it truncated all the cars in the whole website. Luckily we had backups. But eventually I asked the lead developer to check with me as I had no Idea where it was coming from (15 minutes between runs, so ever 15 minutes it truncates the whole table, and with an API tries to import the new cars. But that was not in use anymore).
With that I quickly learned to ask for help early.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Always check when things can go to production, I once worked at an older job that was migrating to Git at the time.
One project was still on a NAS (Networked Attached Storage) Someone created a debug truncate SQL line somewhere in the file I was working, which wasn't in production yet.
So when I started working it truncated all the cars in the whole website. Luckily we had backups. But eventually I asked the lead developer to check with me as I had no Idea where it was coming from (15 minutes between runs, so ever 15 minutes it truncates the whole table, and with an API tries to import the new cars. But that was not in use anymore).
With that I quickly learned to ask for help early.