Re:Cause of today's Github outage
by ammmir on Sunday November 14, 2010 @11:21PM
(#1905210)
simply checking if you're talking to a production instance could avert something like this. having some metadata in the db about whether the data stored there is acting as production and at what version and deployment level, so tests can have a sanity check before destructive activities.
[ Parent
| on HN ]
why the downvote?
Presumably because the comment is obvious, unhelpful, and somewhat mean-spirited. I don't think anybody here needs a lesson in how to avoid accidentally dropping your production database.