DEV Community

Discussion on: What is the importance of committing mistakes?

Collapse
 
rehmanjeff profile image
Habib ur Rehaman

My one of many mistakes i done, i ran a update script which had missing statement of "where" in sql, and it updated whole 1k records of live orders we had in 2,3 months.
Thankfully i got little old backup and data we had store in separate table, i fixed it with a script again but there i learnt that i should never run such scripts direct on live mode.