Business history log

FROM CASE 79

A central event log used to track changes to business objects and events of significance in AyaNova.

Auto prunes (can be set)

Has some sort of checksum or verification so we can tell it wasn't fucked with

Consumed by various widgets for record history purposes
Each object defines it's own set of event id's of significance (int enum) in addition to some events common to all objects: 

1=created
2=modified
3=deleted



EVENT LOG DB SCHEMA
------------------------------------
AYTYPE (object type int), 
AYID (object id),
AYEVENT (event of interest type int defined in object), 
TIMESTAMP (unix epoch), 
USERID,
TEXTRA (text field to identify stuff that can't be retrieved from source object, i.e. deleted record name) 


