mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-03 08:22:24 +02:00
- add #user_cache.cache_update_time - useful for plugins or the filter when it is not possible/desirable to cache/calculate data specific to the user when pwg core does it; note that this opens the possibility to implement a data cache (file/shared mem/ etc...) for every user (for very large databases)
git-svn-id: http://piwigo.org/svn/trunk@2448 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -320,6 +320,7 @@ DROP TABLE IF EXISTS `piwigo_user_cache`;
|
||||
CREATE TABLE `piwigo_user_cache` (
|
||||
`user_id` smallint(5) NOT NULL default '0',
|
||||
`need_update` enum('true','false') NOT NULL default 'true',
|
||||
`cache_update_time` integer unsigned NOT NULL default 0,
|
||||
`forbidden_categories` mediumtext,
|
||||
`nb_total_images` mediumint(8) unsigned default NULL,
|
||||
`image_access_type` enum('NOT IN','IN') NOT NULL default 'NOT IN',
|
||||
|
||||
Reference in New Issue
Block a user