diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index d1bc67f7b9d..1ea6480dd63 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -59,11 +59,13 @@ ALTER TABLE llx_societe drop column id; ALTER TABLE llx_societe modify parent integer; UPDATE llx_societe set parent = null where parent = 0; +alter table llx_product add stock_loc varchar(10) DEFAULT NULL; alter table llx_product add gencode varchar(255) DEFAULT NULL; alter table llx_product add weight real DEFAULT NULL; alter table llx_product add weight_units tinyint DEFAULT NULL; 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); alter table llx_cond_reglement add (decalage smallint(6) default 0);