From c121640b6d64bb4f1bb4b7ca2b96c70635db1c21 Mon Sep 17 00:00:00 2001
From: rvelices <rv-github@modusoptimus.com>
Date: Sun, 26 May 2013 19:56:31 +0000
Subject: bug 2097: wrong number of sub-albums bug 2098: make number of direct
 sub-albums available for each user

git-svn-id: http://piwigo.org/svn/trunk@22879 68402e56-0260-453c-a942-63ccdbb3a9ee
---
 install/piwigo_structure-mysql.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'install/piwigo_structure-mysql.sql')

diff --git a/install/piwigo_structure-mysql.sql b/install/piwigo_structure-mysql.sql
index 3de3004ac..d161d40e3 100644
--- a/install/piwigo_structure-mysql.sql
+++ b/install/piwigo_structure-mysql.sql
@@ -372,6 +372,7 @@ CREATE TABLE `piwigo_user_cache_categories` (
   `max_date_last` datetime default NULL,
   `nb_images` mediumint(8) unsigned NOT NULL default '0',
   `count_images` mediumint(8) unsigned default '0',
+  `nb_categories` mediumint(8) unsigned default '0',
   `count_categories` mediumint(8) unsigned default '0',
   `user_representative_picture_id` mediumint(8) unsigned default NULL,
   PRIMARY KEY  (`user_id`,`cat_id`)
-- 
cgit v1.2.3

