From d58b85e21847874c7c0ce9dfb4a71f25f291b5e7 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 7 Dec 2006 13:07:19 +0000 Subject: [PATCH] Modification alter table llx_product add units tinyint DEFAULT 0; --- mysql/migration/2.0.0-2.1.0.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 0466881fee7..0154e5a9065 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -60,8 +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 weight float DEFAULT ; +alter table llx_product add units tinyint DEFAULT 0; 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);