From 4e038b7430c1d7ce1023957d79987b05698877d6 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Fri, 23 Dec 2022 20:35:12 +0100 Subject: [PATCH] updated DB install sql script --- database/install/DB2_create_tables.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/database/install/DB2_create_tables.sql b/database/install/DB2_create_tables.sql index f177f58..ba19def 100644 --- a/database/install/DB2_create_tables.sql +++ b/database/install/DB2_create_tables.sql @@ -731,7 +731,8 @@ ALTER TABLE unites ALTER TABLE users ADD PRIMARY KEY (id), ADD UNIQUE KEY username (username), - ADD UNIQUE KEY nom (nom), +-- ADD UNIQUE KEY nom (nom), + ADD KEY idx_nom (nom), ADD KEY fk_users_sur_categories_id (sur_categorie_id), ADD KEY fk_users_groupe_thematique_id (groupes_thematique_id), ADD KEY fk_user_site (site_id); -- libgit2 0.21.2