From 20ca7a90f057c1905ebcebcb4762d7775149ae5a Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sat, 20 Sep 2003 23:00:01 +0000 Subject: 2003.09.21_01h00 : auto commit git-svn-id: http://piwigo.org/svn/trunk@149 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/phpwebgallery_structure.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/admin/phpwebgallery_structure.sql b/admin/phpwebgallery_structure.sql index cdd6f22b3..d6797c162 100644 --- a/admin/phpwebgallery_structure.sql +++ b/admin/phpwebgallery_structure.sql @@ -148,7 +148,8 @@ CREATE TABLE phpwebgallery_images ( height smallint(9) unsigned default NULL, keywords varchar(255) default NULL, storage_category_id smallint(5) unsigned default NULL, - PRIMARY KEY (id) + PRIMARY KEY (id), + KEY storage_category_id (storage_category_id) ) TYPE=MyISAM; -- @@ -220,7 +221,7 @@ CREATE TABLE phpwebgallery_users ( long_period tinyint(3) unsigned NOT NULL default '14', template varchar(255) NOT NULL default 'default', PRIMARY KEY (id), - UNIQUE KEY pseudo (username) + UNIQUE KEY username (username) ) TYPE=MyISAM; -- -- cgit v1.2.3