1 CREATE TABLE `elgglogging` (
\r
2 `ident` int(11) NOT NULL auto_increment,
\r
3 `timestamp` int(11) NOT NULL,
\r
4 `object_type` varchar(128) NOT NULL,
\r
5 `object_id` int(11) NOT NULL,
\r
6 `user_id` int(11) NOT NULL,
\r
7 `event_type` varchar(128) NOT NULL,
\r
8 `old_access` varchar(128) NOT NULL,
\r
9 `new_access` varchar(128) NOT NULL,
\r
10 PRIMARY KEY (`ident`),
\r
11 KEY `timestamp` (`timestamp`,`object_type`)
\r