aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-20 23:00:01 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-20 23:00:01 +0000
commit20ca7a90f057c1905ebcebcb4762d7775149ae5a (patch)
tree0045f4c2ca36b9fe7b952563480c2a7d5434acf7
parent5b25b7bac3bfac561be8aa7848d8b95411a19e70 (diff)
2003.09.21_01h00 : auto commit
git-svn-id: http://piwigo.org/svn/trunk@149 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/phpwebgallery_structure.sql5
1 files 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;
--