From 39071bb421e6250ac555ecb0c9f4f7a698a29c35 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 10 Jul 2007 07:47:55 +0000 Subject: [PATCH] Modif Ajout uncite sur le champ fk_soc --- htdocs/telephonie/sql/llx_telephonie_adsl_fournisseur.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;