From ddd6e6ba28f78f04df268fae93d6af6c7683e857 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 11 Dec 2006 21:10:09 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20create=20table=20llx=5Fcommande=5Ffourn?= =?UTF-8?q?isseur=5Fdispatch=20(=20=20=20rowid=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20integer=20AUTO=5FINCREMENT=20PRIMARY=20KEY,=20=20=20fk=5Fcom?= =?UTF-8?q?mande=20=20=20=20integer,=20=20=20fk=5Fproduct=20=20=20=20=20in?= =?UTF-8?q?teger,=20=20=20qty=20=20=20=20=20=20=20=20=20=20=20=20float,=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20--=20quantit=E9=20=20=20?= =?UTF-8?q?fk=5Fentrepot=20=20=20=20integer,=20=20=20fk=5Fuser=20=20=20=20?= =?UTF-8?q?=20=20=20=20integer,=20=20=20datec=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20datetime=20)type=3Dinnodb;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX (fk_commande); --- mysql/migration/2.0.0-2.1.0.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 114489fd75e..af370a0cd29 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -540,3 +540,16 @@ create table llx_product_ca ca_genere float, UNIQUE (fk_product, year) )type=innodb; + +create table llx_commande_fournisseur_dispatch +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + fk_commande integer, + fk_product integer, + qty float, -- quantité + fk_entrepot integer, + fk_user integer, + datec datetime +)type=innodb; + +ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX (fk_commande);