From d9e0d397c1316454fdcdd74a4e24bfa7d24b0f7e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 12 Aug 2005 09:34:05 +0000 Subject: [PATCH] Ajout champ fk_po --- htdocs/telephonie/sql/llx_telephonie_commission_avance.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/sql/llx_telephonie_commission_avance.sql b/htdocs/telephonie/sql/llx_telephonie_commission_avance.sql index 3897a042d72..15cd365b151 100644 --- a/htdocs/telephonie/sql/llx_telephonie_commission_avance.sql +++ b/htdocs/telephonie/sql/llx_telephonie_commission_avance.sql @@ -24,11 +24,12 @@ create table llx_telephonie_commission_avance ( rowid integer AUTO_INCREMENT PRIMARY KEY, date varchar(6), fk_distributeur integer NOT NULL, + fk_po integer NOT NULL, fk_contrat integer NOT NULL, pourcentage real, montant real, avance tinyint default 0, - unique (date, fk_contrat) + unique (date, fk_po) )type=innodb;