diff --git a/install/db/23-database.php b/install/db/23-database.php new file mode 100644 index 000000000..a57568e5e --- /dev/null +++ b/install/db/23-database.php @@ -0,0 +1,50 @@ + diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql index dbc7b2335..189831bbe 100644 --- a/install/phpwebgallery_structure.sql +++ b/install/phpwebgallery_structure.sql @@ -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; --