- 👨💻 Hot take: Keeping "soft deleted" entities in the database is never the right call. To enable entity restoration, serialize the entity and store it elsewhere. If they want to "undelete," then you take that serialized entity and put it back into the system.Jan 11, 2026 20:18
- Otherwise, you eventually run into context functions or custom SQL statements that don't honor your `deleted_at` column, and it leads to madness.