New: Add "Audit" feature.

This commit is contained in:
Laurent Destailleur 2008-02-29 13:19:15 +00:00
parent 70640c5212
commit caded51ca6
2 changed files with 14 additions and 12 deletions

View File

@ -179,12 +179,13 @@ drop table if exists llx_events;
create table llx_events create table llx_events
( (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp, -- date creation/modification tms timestamp,
type varchar(32) NOT NULL, -- action type type varchar(32) NOT NULL,
dateevent datetime, -- date event dateevent datetime,
fk_user integer, -- id user fk_user integer,
label varchar(50) NOT NULL, -- label of action label varchar(50) NOT NULL,
description text NOT NULL -- full description of action description varchar(200) NOT NULL,
fk_object integer
) type=innodb; ) type=innodb;

View File

@ -29,7 +29,8 @@ create table llx_events
dateevent datetime, -- date event dateevent datetime, -- date event
fk_user integer, -- id user fk_user integer, -- id user
label varchar(50) NOT NULL, -- label of action label varchar(50) NOT NULL, -- label of action
description text NOT NULL -- full description of action description varchar(200) NOT NULL, -- full description of action
fk_object integer -- id of related object
) type=innodb; ) type=innodb;