Devin Avery, Unsplash

Soft Deletes

Why do we even need Soft Deletes? Before we talk about how, let’s talk about why. We’ve all been there. A user clicks Delete, realizes they made a huge mistake, and frantically calls support. If you did a Hard Delete (actually DELETE FROM table), that data is gone. The only hope is a messy database backup restoration that might be hours old. Soft Deletes are your safety net. They are the database equivalent of the “Recycle Bin” on your desktop. The data is hidden from the user, but it’s still sitting there in the DB, waiting to be rescued. ...

December 10, 2025 · 3 min