From 63638b9b6dcdcef8baf5363419f0f6c5130c62df Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 1 Dec 2006 23:31:19 +0000 Subject: Resolved Issue ID 0000299: o Add (new) icon of parent category with children categories including new images o Improved display text for images count o Improved (a little) mass_* functions More explications on the forum. You must call directly upgrade_feep.php (http://127.0.0.1/BSF/upgrade_feed.php for example) git-svn-id: http://piwigo.org/svn/trunk@1624 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/37-database.php | 60 +++++++++++++++++++++++++++++++++++++ install/phpwebgallery_structure.sql | 15 ++++++++++ 2 files changed, 75 insertions(+) create mode 100644 install/db/37-database.php (limited to 'install') diff --git a/install/db/37-database.php b/install/db/37-database.php new file mode 100644 index 000000000..ba334153b --- /dev/null +++ b/install/db/37-database.php @@ -0,0 +1,60 @@ + diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql index 5e1e8c162..469b1b9a1 100644 --- a/install/phpwebgallery_structure.sql +++ b/install/phpwebgallery_structure.sql @@ -289,6 +289,21 @@ CREATE TABLE `phpwebgallery_user_cache` ( PRIMARY KEY (`user_id`) ) TYPE=MyISAM; +-- +-- Table structure for table `phpwebgallery_user_cache_categories` +-- + +DROP TABLE IF EXISTS `phpwebgallery_user_cache_categories`; +CREATE TABLE `phpwebgallery_user_cache_categories` ( + `user_id` smallint(5) NOT NULL default '0', + `cat_id` smallint(5) unsigned NOT NULL default '0', + `is_child_date_last` enum('true','false') NOT NULL default 'false', + `max_date_last` datetime default NULL, + `count_images` mediumint(8) unsigned default 0, + `count_categories` mediumint(8) unsigned default 0, + PRIMARY KEY (`user_id`, `cat_id`) +) TYPE=MyISAM; + -- -- Table structure for table `phpwebgallery_user_feed` -- -- cgit v1.2.3