We are creating a simple web system in which someone adds an entry, such as a CMS page, which gets the approval of someone who will respond before being shown on the website.
If subsequently the author decides to edit this page, we want to create a draft based on a live copy, after approval he will replace the old live page.
We thought about full version control, but we believe that we can keep it simpler by simply having 1. Just a draft, 2. Just live, or 3. One draft and one live.
This function is required for several "things", and not just for pages.
Finally, the question is: do you think it would be better to keep these two records in one table or would a mirror table be better?
I guess this probably depends, but I don't like the ideal of having two tables with the same structure. Is there a tradeoff for slower operations (how do we have to request drafts all the time when displaying data)?
source share