diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-07-22 10:32:25 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-07-22 10:32:25 +0000 |
commit | 4322abb39fe8672ba0179e9a460a73ae65fdfffc (patch) | |
tree | a88acf5edd7291cb926c60ecf796b5e7b3f8e0f4 /install/piwigo_structure.sql | |
parent | ecc5ee46fa3caf6622a4cccae3870a950fb0a969 (diff) |
- 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
Diffstat (limited to '')
-rw-r--r-- | install/piwigo_structure.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install/piwigo_structure.sql b/install/piwigo_structure.sql index aa290149f..5cae5b353 100644 --- a/install/piwigo_structure.sql +++ b/install/piwigo_structure.sql @@ -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', |