Ajout champ fk_po

This commit is contained in:
Rodolphe Quiedeville 2005-08-12 09:34:05 +00:00
parent d55cf878d0
commit d9e0d397c1

View File

@ -24,11 +24,12 @@ create table llx_telephonie_commission_avance (
rowid integer AUTO_INCREMENT PRIMARY KEY, rowid integer AUTO_INCREMENT PRIMARY KEY,
date varchar(6), date varchar(6),
fk_distributeur integer NOT NULL, fk_distributeur integer NOT NULL,
fk_po integer NOT NULL,
fk_contrat integer NOT NULL, fk_contrat integer NOT NULL,
pourcentage real, pourcentage real,
montant real, montant real,
avance tinyint default 0, avance tinyint default 0,
unique (date, fk_contrat) unique (date, fk_po)
)type=innodb; )type=innodb;