Commit 4e038b7430c1d7ce1023957d79987b05698877d6
1 parent
3c35bcf1
Exists in
master
and in
1 other branch
updated DB install sql script
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
database/install/DB2_create_tables.sql
@@ -731,7 +731,8 @@ ALTER TABLE unites | @@ -731,7 +731,8 @@ ALTER TABLE unites | ||
731 | ALTER TABLE users | 731 | ALTER TABLE users |
732 | ADD PRIMARY KEY (id), | 732 | ADD PRIMARY KEY (id), |
733 | ADD UNIQUE KEY username (username), | 733 | ADD UNIQUE KEY username (username), |
734 | - ADD UNIQUE KEY nom (nom), | 734 | +-- ADD UNIQUE KEY nom (nom), |
735 | + ADD KEY idx_nom (nom), | ||
735 | ADD KEY fk_users_sur_categories_id (sur_categorie_id), | 736 | ADD KEY fk_users_sur_categories_id (sur_categorie_id), |
736 | ADD KEY fk_users_groupe_thematique_id (groupes_thematique_id), | 737 | ADD KEY fk_users_groupe_thematique_id (groupes_thematique_id), |
737 | ADD KEY fk_user_site (site_id); | 738 | ADD KEY fk_user_site (site_id); |