Reputation: 798
I have two related tables. Each table has an is_publish property, for example:
Customer (C) 1 ... n with Order (O) (C 1--->N O)
if the customer is changed is_publish status to false (draft), from your point of view (technically), is the order that has a relationship with that customer also invalid or does the order have to be draft?
Upvotes: 0
Views: 256
Reputation: 106
From my personal point of view, the order should be retained, because this is an important transaction proof.
I think a very simple example is actually a shopping mall. You can use products instead of customers to think about it.
How does the shopping mall do it?
Upvotes: 1