diff --git a/htdocs/telephonie/sql/llx_telephonie_adsl_fournisseur.sql b/htdocs/telephonie/sql/llx_telephonie_adsl_fournisseur.sql index 06212d9c04e..671db04fae2 100644 --- a/htdocs/telephonie/sql/llx_telephonie_adsl_fournisseur.sql +++ b/htdocs/telephonie/sql/llx_telephonie_adsl_fournisseur.sql @@ -1,5 +1,5 @@ -- ======================================================================== --- Copyright (C) 2004 Rodolphe Quiedeville +-- Copyright (C) 2004-2007 Rodolphe Quiedeville -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -24,6 +24,6 @@ create table llx_telephonie_adsl_fournisseur ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_soc integer NOT NULL, email_commande varchar(255), - commande_active tinyint default 0 - + commande_active tinyint default 0, + UNIQUE(fk_soc) )type=innodb;