If you have a table which stores questions and answers, for example using an extra column called something such as Parent. So if a question doesn’t have a value in parent, it’s a question and if it does, its a reply, so how would you do version control for this?
Share
For a well-developed example of how to keep past revisions of text, you could look at the MediaWiki database layout. This is the database layout used by the MediaWiki software, which many wikis (notably Wikipedia) run on. Specifically, the
page,revision, andtexttables are the primary tables involved with keeping track of historic changes.