16
nickj
5y

One time, I accidentally deleted all the data from one of the client's database table (invoices) because i forgot to comment the line from the script.

Good thing there were some backups and I was able to restore everything without anyone noticing. I was so fucking dumb at that time and I felt all the blood rush to my head at that moment when I did a SELECT * and NOTHING was displayed on the screen.

Rookie mistake.

Comments
  • 1
    I deleted a days worth of data with an backup.
  • 0
    @stop oshiit did they find out :O
  • 5
    Why am I getting an adrenaline rush just by reading this 😆 damn. Execute SELECT statement and nothing displays........ ouch
  • 0
  • 0
    @nickj but it was their error, they didnt say that this thing was productive.
  • 0
    @stop they should have indicated it before they let u touch it,, their loss anyway xd
  • 2
    This sounds way too familiar to me xd
    I started to sweat when I deleted the data, but thank god that we had the stamp 'not production ready, no guarantees' stamp on that website. Was able to restore it with a backup though!
  • 2
    Back then when I didn't know how to use git, I deleted one week's code of 6 developers. But it could be restored after hours of work.
  • 2
    After a long flight and only one hour sleep I did something very similar.
    Dropped all the tables in a database and went slightly pale and nauseas.
    I feel your pain
  • 1
    @bigOHNOtation luckily I had my team to support
  • 0
    Not as bad, but once I accidentally removed the password hash Column from our dev database. Luckily we had the hash duplicated in another database, so I just reimported it the broken one, to this day no one knows what I did except that the server didn't work for a bit which is normal on dev anyway
Add Comment