
Is this ERD diagram correct?
In this ERD diagram, I purposed when you click under the Food
of the add to cart button, we need to take the Cart
and then we have to add the Food
item to the Cart_item
table. So when you click the add to Cart
, this data will save to the Cart_item
of the Cart
table. Is it ture ?
how should I do ?