Difference between revisions of "VbzCart/tables/cache log"
Jump to navigation
Jump to search
(New page: ==About== * '''Purpose''': Log of all cache updates performed * '''Notes''': ** The stored procedures don't automatically update this log; that is handled by the DataMgr classes. ==SQL== <...) |
(No difference)
|
Revision as of 21:02, 8 March 2009
About
- Purpose: Log of all cache updates performed
- Notes:
- The stored procedures don't automatically update this log; that is handled by the DataMgr classes.
SQL
<mysql>DROP TABLE IF EXISTS `data_log`;
CREATE TABLE `data_log` (
ID INT NOT NULL AUTO_INCREMENT COMMENT "log line identifier", WhenStarted DATETIME NOT NULL COMMENT "when this event was started", WhenFinished DATETIME COMMENT "when it was completed", ID_TableDest INT NOT NULL COMMENT "data_tables.ID of table being updated", ID_TableSrce INT NOT NULL COMMENT "data_tables.ID of triggering/source table", ID_Proc INT NOT NULL COMMENT "data_procs.ID of stored procedure used", Caller varchar(63) COMMENT "identifying string from code which caused the update", Notes varchar(255) COMMENT "historical human-created notes", PRIMARY KEY (`ID`) ) ENGINE = MYISAM;</mysql>