Add support for logging downloaded files via dblog

New mysql table "downloads", see doc/sql/update7.sql



git-svn-id: https://kippo.googlecode.com/svn/trunk@224 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
desaster
2013-01-08 17:31:29 +00:00
parent 96265ebe03
commit 3a7bcc0ff5
5 changed files with 33 additions and 0 deletions

View File

@@ -49,3 +49,13 @@ CREATE TABLE `ttylog` (
`ttylog` mediumblob NOT NULL,
PRIMARY KEY (`id`)
) ;
CREATE TABLE `downloads` (
`id` int(11) NOT NULL auto_increment,
`session` CHAR( 32 ) NOT NULL,
`timestamp` datetime NOT NULL,
`url` text NOT NULL,
`outfile` text NOT NULL,
PRIMARY KEY (`id`),
KEY `session` (`session`,`timestamp`)
) ;