Open JuKu opened 6 years ago
Each time someone edits a page, this should result in a new page version.
pages
and page_versions
. A not yet published page is initially only available in page_versions
. By publishing a page version, this page version gets copied over to pages
. (so that not published pages don't slow down the query) In case a page gets updated with a newer page version, the old page version in pages
gets overwritten by the new version@PascalReintjens To support reverts we should also add a HEAD versionID, like gitub. Else editing will be always based on latest version.
Add a VCS for pages.
For diff viewing maybe we can use this javascript tool: https://diff2html.xyz/