From 6ecf85fc7a5e5bf1c6c80c778da2dd65efbf636b Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 13 Apr 2006 20:38:10 +0000 Subject: [PATCH] bug fixed: images_i1 (storage_category_id) comes back git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1158 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/22.1-database.php | 50 +++++++++++++++++++++++++++++ install/phpwebgallery_structure.sql | 5 +-- 2 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 install/db/22.1-database.php diff --git a/install/db/22.1-database.php b/install/db/22.1-database.php new file mode 100644 index 000000000..a57568e5e --- /dev/null +++ b/install/db/22.1-database.php @@ -0,0 +1,50 @@ + diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql index dbc7b2335..094485c5f 100644 --- a/install/phpwebgallery_structure.sql +++ b/install/phpwebgallery_structure.sql @@ -1,6 +1,6 @@ -- MySQL dump 9.11 -- --- Host: localhost Database: pwg-bsf +-- Host: localhost Database: pwg-1_6 -- ------------------------------------------------------ -- Server version 4.0.24_Debian-10-log @@ -172,7 +172,8 @@ CREATE TABLE `phpwebgallery_images` ( KEY `images_i2` (`date_available`), KEY `images_i3` (`average_rate`), KEY `images_i4` (`hit`), - KEY `images_i5` (`date_creation`) + KEY `images_i5` (`date_creation`), + KEY `images_i1` (`storage_category_id`) ) TYPE=MyISAM; --