aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/phpwebgallery_structure.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql
index 603949488..ab0edfa66 100644
--- a/install/phpwebgallery_structure.sql
+++ b/install/phpwebgallery_structure.sql
@@ -136,7 +136,8 @@ CREATE TABLE phpwebgallery_images (
keywords varchar(255) default NULL,
storage_category_id smallint(5) unsigned default NULL,
PRIMARY KEY (id),
- KEY storage_category_id (storage_category_id)
+ KEY images_i2 (date_available),
+ KEY images_i1 (storage_category_id)
) TYPE=MyISAM;
--