Greblak/LiveDocs — Issue #3: Set up the general database
Author: Greblak
Created: 2012-03-08 21:11:36+00:00
State: open

#Users#
* __UserID__
* Username
* Password
* Level(1 = user, 2 = admin)
* LoginToken

#PageAccess#
* __PageID__
* PageName
* MinLevel

#Documents#
* __DocID__
* Title
* OwnerID
* HeadRevisionID
* Public (bool)

# DocumentAccess #
* __DocID__
* __UserID__
* AccessLevel (1=read, 2=write)

# Revisions #
* __RevisionID__
* DocID
* Name
* Datetime
* ParentRevisionID
* Content

# Blame #
* __RevisionID_
* __UserID__