DEV Community

Discussion on: What was the worst bug you've ever written?

Collapse
 
vaidehijoshi profile image
Vaidehi Joshi

I wrote a database migration to add a column and was as happy as a clam! I deployed it to production and thought everything would be fine.

Five minutes later I realize that my migration also involved updating every single user record and the database is locked and no one can access prod and OOPS πŸ™ˆ

Collapse
 
vaidehijoshi profile image
Vaidehi Joshi

PS. You all did a great job handling the downtime ❀️

Collapse
 
ben profile image
Ben Halpern

Collapse
 
shalvah profile image
Shalvah

Yasss! I did this too. πŸ˜‚πŸ˜‚