I am trying to create a system which allows local network users to collaborate content together.
Requirements: The user should be able to:
- create content,
- edit content (content created by anyone),
- records should be kept on who edited what and when,
- should easily be able to go back and forth between edits,
- add comments to pages,
- should be able to assign rights to created/edited pages (i.e. who can view them)
I am trying to come up with some database structures, but need some help. Could someone please help me create a good structure for such requirements?
EDIT:
This is what I have so far:
page table -
page_id
title
content
date
inactive (0,1)
author
rights table -
page_id
user_id
view (0,1)
edit (0,1)
delete (0,1)
history table -
page_id
title
content
date
inactive (0,1)
author
How could this be improved?