diff --git a/htdocs/install/mysql/migration/3.8.0-3.9.0.sql b/htdocs/install/mysql/migration/3.8.0-3.9.0.sql index 7c372a5c39450533023c0ba80a0d54c144da2d2c..41166b0de065d45f1ee05f9642696c25c6edd4eb 100755 --- a/htdocs/install/mysql/migration/3.8.0-3.9.0.sql +++ b/htdocs/install/mysql/migration/3.8.0-3.9.0.sql @@ -34,9 +34,6 @@ ALTER TABLE llx_actioncomm ADD COLUMN email_tocc varchar(256) after email_to; ALTER TABLE llx_actioncomm ADD COLUMN email_tobcc varchar(256) after email_tocc; -UPDATE llx_commande_fourn set billed=1 where statut = 8; -UPDATE llx_commande_fourn set statut=5 where statut = 8 and billed=1; - ALTER TABLE llx_user MODIFY COLUMN pass varchar(128); ALTER TABLE llx_user MODIFY COLUMN pass_temp varchar(128); @@ -111,6 +108,9 @@ ALTER TABLE llx_commande ADD COLUMN fk_warehouse integer DEFAULT NULL AFTER fk_s ALTER TABLE llx_commande_fournisseur ADD COLUMN billed smallint DEFAULT 0 AFTER fk_statut; ALTER TABLE llx_commande_fournisseur ADD INDEX billed (billed); +UPDATE llx_commande_fournisseur set billed=1 where statut = 8; +UPDATE llx_commande_fournisseur set statut=5 where statut = 8 and billed=1; + ALTER TABLE llx_product ADD COLUMN cost_price double(24,8) DEFAULT NULL; ALTER TABLE llx_ecm_directories MODIFY COLUMN fullpath varchar(750);