This feature should make sure that when an Order is deleted, that every row associated with that order is also deleted from the Product_Order table.
When and where should the feature appear?
I believe that all we need to do is add the attribute ON DELETE CASCADE to the primary key. BUT I COULD BE WRONG. THERE MIGHT BE MORE TO IT. I would google it and see if theres more to it. and then test it a bunch.
Associated Product Ticket
Process
Potential Impact on Code or Other Features
There is already a DELETE function in the Orders section of code.
Suggested Implementation
Expected Result
When an Order is deleted, it should also delete any associated rows on the Product_Order join table.
Context
ON DELETE CASCADE
to the primary key. BUT I COULD BE WRONG. THERE MIGHT BE MORE TO IT. I would google it and see if theres more to it. and then test it a bunch.Associated Product Ticket
Process
Expected Result
When an Order is deleted, it should also delete any associated rows on the Product_Order join table.