From ea526398b086fc36648230bbb42eebb782b6687b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 1 Dec 2004 09:39:23 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20unicit=E9=20sur=20le=20num=E9ro=20de=20?= =?UTF-8?q?compte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/tables/llx_compta_compte_generaux.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;