From a3c965a305d85cfb5d810ba9518db9ca1a69faec Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 25 Jan 2004 01:21:44 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20cr=E9ation=20de=20la=20nouvel?= =?UTF-8?q?le=20table=20llx=5Fco=5Ffa=20dans=20le=20script=20de=20migratio?= =?UTF-8?q?n.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/1.1.0-1.2.0-RC1.sql | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mysql/migration/1.1.0-1.2.0-RC1.sql b/mysql/migration/1.1.0-1.2.0-RC1.sql index 74c11f9e482..a91aab40f1f 100644 --- a/mysql/migration/1.1.0-1.2.0-RC1.sql +++ b/mysql/migration/1.1.0-1.2.0-RC1.sql @@ -8,4 +8,16 @@ alter table llx_product add stock_commande integer default 0; alter table llx_product add seuil_stock_alerte integer default 0; -ALTER TABLE `llx_groupart` ADD `description` TEXT AFTER `groupart` ; \ No newline at end of file +ALTER TABLE `llx_groupart` ADD `description` TEXT AFTER `groupart` ; + + +-- Nouvelle table +create table llx_co_fa +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + fk_commande integer NOT NULL, + fk_facture integer NOT NULL, + + key(fk_commande), + key(fk_facture) +);