diff --git a/htdocs/telephonie/sql/llx_telephonie_societe_ligne_comments.sql b/htdocs/telephonie/sql/llx_telephonie_societe_ligne_comments.sql index 69cfd8021be..12a213d6f58 100644 --- a/htdocs/telephonie/sql/llx_telephonie_societe_ligne_comments.sql +++ b/htdocs/telephonie/sql/llx_telephonie_societe_ligne_comments.sql @@ -26,8 +26,9 @@ create table llx_telephonie_societe_ligne_comments ( fk_ligne integer NOT NULL, fk_user integer NOT NULL, datec datetime, - commentaire text + commentaire text, + INDEX (fk_ligne) )type=innodb;