want to ask a question
see what everyone does
suppose there is an item < 1
the user sets up a list after buying item A, and uses the relational database to find 1 and then go to the information table product to introduce purchased goods
suppose one day to delete item A, the user will make an error if he wants to view the product
think about how to do it
I have thought of two ways
when deleting, empty the item A data of product to a deleted item, but when the item is still
list, put the item name and product name of item An into the list
what do you think?