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);