TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Soft delete records or hard deletions ?

1 pointsby jerawaj749over 1 year ago
when working with databases is it still good to soft delete records or hard deletions ?

2 comments

withinboredomover 1 year ago
I always prefer soft-delete + audit trail + a job to hard delete after 14 days. This way you can always undo someone’s fuckup.
stop50over 1 year ago
if think: it depends: User: soft delete group: harddelete