79775606

Date: 2025-09-26 08:04:11
Score: 1.5
Natty:
Report link

You could turn the reference to Document into a onetoone instead of foreignkey, and that way you would have the option to set the cascadeDelete parameter to true.

If you are not allowed to alter the data model and drop the database you would need to create an upgrade trigger.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Enrique Alonso