Brandur Leach personal blog

Soft deletion probably isn't worth it

The traditional soft deletion pattern using <code>deleted_at</code> columns leaks into code, curbs the usefulness of foreign keys, and makes data removal difficult. Luckily, there&rsquo;s an alternative.
Points
654
HN comments
556
Submissions
2
Cited by
5 commenters

Software EngineeringDatabases & Data2022

On Hacker News

SubmittedTitle on HNPointsComments
Jul 19, 2022Soft deletion probably isn't worth it by lfittl654494
Jan 9, 2024Soft Deletion Probably Isn't Worth It (2022) by thunderbong8462

Cited in comments

Linked from 5 Hacker News comments by 5 different people, from Oct 2022 to Aug 2025.

Most recent:

Search every comment that links here →

More from Brandur Leach

All 39 posts →

Related posts from the same era