|
|
|
|
|
by wavemode
28 days ago
|
|
ON DELETE CASCADE is horrendously unsafe unless you have full understanding of the entire data model - which is unlikely for the average employee within a large organization with a gigantic database. (And it's also rare to be permanently deleting data when working in such a context, so the convenience doesn't matter that much.) |
|
I am not using ON DELETE CASCADE to be clever - the referenced data is genuinely required.