Re:Software Engineers: What was your biggest ever f*ck up?
by pindi on Wednesday February 27, 2013 @09:23PM
(#5296564)
When defining our initial data schema, we forgot to put a unique constraint on user email addresses. There ended up being quite a few duplicates, so before we added the constraint I had to write a query to remove the duplicate users. About 2/3 of our users didn't have an email listed, and my query failed to take that into account, so it wiped out all but one of those users.
[ Parent
| on HN ]