diff --git a/mysql/tables/llx_compta_compte_generaux.sql b/mysql/tables/llx_compta_compte_generaux.sql index fceb2a2b0ab..721106b355f 100644 --- a/mysql/tables/llx_compta_compte_generaux.sql +++ b/mysql/tables/llx_compta_compte_generaux.sql @@ -27,5 +27,7 @@ create table llx_compta_compte_generaux numero varchar(50), intitule varchar(255), fk_user_author integer, - note text + note text, + + UNIQUE(numero) )type=innodb;