From e8c0b69e85dddb7a453b8ed8858ed5ae200118a1 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 7 Dec 2006 12:53:46 +0000 Subject: [PATCH] Ajout alter table llx_product add weight float DEFAULT '0'; alter table llx_product add units char(2) DEFAULT 'kg'; --- mysql/migration/2.0.0-2.1.0.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index c4d13eeb8cb..0466881fee7 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -60,6 +60,8 @@ ALTER TABLE llx_societe modify parent integer; UPDATE llx_societe set parent = null where parent = 0; alter table llx_product add gencode varchar(255) DEFAULT NULL; +alter table llx_product add weight float DEFAULT '0'; +alter table llx_product add units char(2) DEFAULT 'kg'; alter table llx_product add canvas varchar(15) DEFAULT ''; insert into llx_cond_reglement(rowid, code, sortorder, active, libelle, libelle_facture, fdm, nbjour) values (6,'PROFORMA', 6,1, 'Proforma','Réglement avant livraison',0,0);