added admin reports & cache status history

This commit is contained in:
following
2013-05-27 22:19:19 +02:00
parent 04f9d86634
commit 239003bff4
14 changed files with 316 additions and 10 deletions

View File

@@ -151,4 +151,18 @@
}
}
function dbv_106() // Cache status logging
{
if (!sql_table_exists('cache_status_modified'))
sql(
"CREATE TABLE `cache_status_modified` (
`cache_id` int(10) unsigned NOT NULL,
`date_modified` datetime NOT NULL,
`old_state` tinyint(2) unsigned NOT NULL,
`new_state` tinyint(2) unsigned NOT NULL,
`user_id` int(10) unsigned NOT NULL default '0',
UNIQUE KEY `cache_id` (`cache_id`,`date_modified`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8");
}
?>