News for hackers. Stuff that matters.
Re:Instead of deleting account, NYT appends ‘1000’ to userna... by londt8 on Tuesday April 28, 2020 @09:23AM (#23006686)
Why not just anonymize the data instead? Not using foreign key constraint just for the sake of GDPR sounds weird.
Re:Instead of deleting account, NYT appends ‘1000’ to userna... by unicornfinder on Tuesday April 28, 2020 @10:04AM (#23007058)
That and why not allow null for the foreign key constraint and set it to nullify upon deletion? Or indeed, anonymise data.
Re:Instead of deleting account, NYT appends ‘1000’ to userna... by sopooneo on Tuesday April 28, 2020 @11:54AM (#23008224)
I have used that pattern in my apps and found it works well. But then I've watched video from respected DB experts, that I learn a great deal from, where they practically beg you to stop using nullable columns.

So I'm torn, because I think there may just be a major problem I've not yet grown my apps big enough to suffer. Anyone have thoughts either way?

Re:Instead of deleting account, NYT appends ‘1000’ to userna... by dmux on Tuesday April 28, 2020 @04:49PM (#23011802)
Any particular videos you'd recommend?
Re:Instead of deleting account, NYT appends ‘1000’ to userna... by cptskippy on Tuesday April 28, 2020 @09:59AM (#23007000)
> Not using foreign key constraint just for the sake of GDPR sounds weird.

That isn't what he said.

He said their inability to delete an account is due to poor design of their data schema by a well intentioned developer.