aboutsummaryrefslogtreecommitdiffstats
path: root/install/phpwebgallery_structure.sql
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-04-19 20:40:38 +0000
committerrub <rub@piwigo.org>2007-04-19 20:40:38 +0000
commitea4f185d1fbe2bc363523aa5b89ed503383972ff (patch)
tree934f1039c7f3d530440a95b23f28f34612bc9327 /install/phpwebgallery_structure.sql
parent5640d3c36f7d79d59b992063e773071bdeecf132 (diff)
git-svn-id: http://piwigo.org/svn/trunk@1963 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/phpwebgallery_structure.sql')
-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 651154cae..24e69005c 100644
--- a/install/phpwebgallery_structure.sql
+++ b/install/phpwebgallery_structure.sql
@@ -105,7 +105,8 @@ CREATE TABLE `phpwebgallery_groups` (
`id` smallint(5) unsigned NOT NULL auto_increment,
`name` varchar(255) NOT NULL default '',
`is_default` enum('true','false') NOT NULL default 'false',
- PRIMARY KEY (`id`)
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `groups_ui1` (`name`)
) TYPE=MyISAM;
--