Hacker News new | ask | show | jobs
by auroranil 2067 days ago
Tom Scott made a mistake with a similar outcome as this article, but with an SQL query that is much more subtle than DROP.

https://www.youtube.com/watch?v=X6NJkWbM1xk

By all means, find ways to fool-proof the architecture. But be prepared for scenarios where some destructive action happens to a production database.

1 comments

He would not have done that if he were simply using a database transaction for this operation.
That’s exactly the point he’s trying to get across with that video.