From 9ce5c07734b5f3219c0a50b5cba67eb2d3021716 Mon Sep 17 00:00:00 2001 From: rub Date: Sat, 2 Dec 2006 13:34:51 +0000 Subject: Improve database update of svn:1624 git-svn-id: http://piwigo.org/svn/trunk@1626 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/37-database.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install/db/37-database.php b/install/db/37-database.php index ba334153b..2fb92a255 100644 --- a/install/db/37-database.php +++ b/install/db/37-database.php @@ -50,6 +50,13 @@ CREATE TABLE '.USER_CACHE_CATEGORIES_TABLE.' ( PRIMARY KEY (`user_id`, `cat_id`) ) TYPE=MyISAM;'; pwg_query($query); + +echo "Update table cache ".USER_CACHE_TABLE; +$query = ' +UPDATE '.USER_CACHE_TABLE.' + SET need_update = \'true\' +;'; +pwg_query($query); echo "\n" -- cgit v1.2.3