Re:Common data model mistakes made by startups
by alexpetralia on Saturday May 22, 2021 @04:09PM
(#27249871)
I do think that hard deletes may sometimes be required to comply with legal requirements (e.g. complete expungement of personal information relating to a user). If it is not required by statutory law, sometimes it is written into commercial contracts.
Re:Common data model mistakes made by startups
by bulhi on Saturday May 22, 2021 @04:07PM
(#27249864)
Exactly. I get OP's point (i.e. you can accidentally include softdeleted records in your results), but for some types of data hard deletes are an absolute no-go anyways, so you just have to live with it.
There is also a more sinister side, which is that the ability to hard delete something forever means that bad actors can fabricate old "deleted" documents and accuse someone of having created and then deleted them.