diff --git a/htdocs/install/mysql/migration/2.6.0-2.7.0.sql b/htdocs/install/mysql/migration/2.6.0-2.7.0.sql index ab81825b80c..837fc16ba63 100644 --- a/htdocs/install/mysql/migration/2.6.0-2.7.0.sql +++ b/htdocs/install/mysql/migration/2.6.0-2.7.0.sql @@ -467,3 +467,6 @@ ALTER TABLE llx_c_methode_commande_fournisseur ADD UNIQUE INDEX uk_c_methode_com ALTER TABLE llx_menu change user usertype integer NOT NULL default '0'; +-- Rename index +ALTER TABLE llx_adherent_options DROP INDEX uk_adherent_options; +ALTER TABLE llx_adherent_options ADD INDEX idx_adherent_options (adhid); diff --git a/htdocs/install/mysql/tables/llx_adherent_options.key.sql b/htdocs/install/mysql/tables/llx_adherent_options.key.sql index 4a6d53f597f..c8522d21bd7 100644 --- a/htdocs/install/mysql/tables/llx_adherent_options.key.sql +++ b/htdocs/install/mysql/tables/llx_adherent_options.key.sql @@ -19,4 +19,4 @@ -- $Id$ -- =================================================================== -ALTER TABLE llx_adherent_options ADD INDEX uk_adherent_options (adhid); +ALTER TABLE llx_adherent_options ADD INDEX idx_adherent_options (adhid);