3 ms·
Relatedly, I've worked with systems that would maintain a "deleted" or "archived" table for every normal table, with an identical schema. I nowadays prefer it
by yellowapple 4y ago
Relatedly, I've worked with systems that would maintain a "deleted" or "archived" table for every normal table, with an identical schema. I nowadays prefer it over a deleted_at field for many of the same reasons as the article.
I also nowadays don't care much for created_at or updated_at; IMO it's preferable to maintain an actual transaction log (which is something I'd add to the YPGNI list, given how invaluable that tends to be for auditing purposes).
- layer8 4y agoHow about using YEGNI for “you’re eventually gonna need it”? Not exactly the same as “probably”, but more pronounceable.
- yellowapple 4y agoI guess YUGNI (You're Usually Gonna Need It) would be close to the ideal intersection between pronouncability and original meaning.