diff --git a/htdocs/install/mysql/migration/2.0.0-2.1.0.sql b/htdocs/install/mysql/migration/2.0.0-2.1.0.sql index 8a3bb3a71cf..32f9c7c532e 100644 --- a/htdocs/install/mysql/migration/2.0.0-2.1.0.sql +++ b/htdocs/install/mysql/migration/2.0.0-2.1.0.sql @@ -955,3 +955,7 @@ UPDATE llx_usergroup_rights SET fk_id=fk_id+1 WHERE fk_id BETWEEN 1320 AND 1320; UPDATE llx_rights_def SET ID=ID+1 WHERE ID BETWEEN 1420 AND 1420 AND module='commande'; UPDATE llx_user_rights SET fk_id=fk_id+1 WHERE fk_id BETWEEN 1420 AND 1420; UPDATE llx_usergroup_rights SET fk_id=fk_id+1 WHERE fk_id BETWEEN 1420 AND 1420; + + +-- Not used. Just to be compatible with upgrade process of higher versions +alter table llx_const add column entity integer DEFAULT 1 NOT NULL; diff --git a/htdocs/install/mysql/migration/2.1.0-2.2.0.sql b/htdocs/install/mysql/migration/2.1.0-2.2.0.sql index 66279510024..69d4be5acd6 100644 --- a/htdocs/install/mysql/migration/2.1.0-2.2.0.sql +++ b/htdocs/install/mysql/migration/2.1.0-2.2.0.sql @@ -1175,4 +1175,8 @@ ALTER TABLE llx_commande_fournisseurdet MODIFY fk_product integer; -- Le prix d'un produit ne doit pas avoir la valeur NULL UPDATE llx_product SET price = 0 WHERE price is NULL; -UPDATE llx_product SET price_ttc = 0 WHERE price_ttc is NULL; \ No newline at end of file +UPDATE llx_product SET price_ttc = 0 WHERE price_ttc is NULL; + + +-- Not used. Just to be compatible with upgrade process of higher versions +alter table llx_const add column entity integer DEFAULT 1 NOT NULL; diff --git a/htdocs/install/mysql/migration/2.2.0-2.4.0.sql b/htdocs/install/mysql/migration/2.2.0-2.4.0.sql index f70e6e565a0..d3ae4995d86 100644 --- a/htdocs/install/mysql/migration/2.2.0-2.4.0.sql +++ b/htdocs/install/mysql/migration/2.2.0-2.4.0.sql @@ -345,3 +345,7 @@ update llx_societe set fk_typent = 0 where fk_typent is null; ALTER TABLE llx_surveys_answers_summary TYPE=INNODB; + +-- Not used. Just to be compatible with upgrade process of higher versions +alter table llx_const add column entity integer DEFAULT 1 NOT NULL; + diff --git a/htdocs/install/mysql/migration/2.4.0-2.5.0.sql b/htdocs/install/mysql/migration/2.4.0-2.5.0.sql index 339a9b4627b..369e3664dad 100644 --- a/htdocs/install/mysql/migration/2.4.0-2.5.0.sql +++ b/htdocs/install/mysql/migration/2.4.0-2.5.0.sql @@ -110,3 +110,6 @@ INSERT INTO llx_expedition_methode (rowid,code,libelle,description,active) VALUE INSERT INTO llx_expedition_methode (rowid,code,libelle,description,active) VALUES (2,'TRANS','Transporter','Generic transporter',1); INSERT INTO llx_expedition_methode (rowid,code,libelle,description,active) VALUES (3,'COLSUI','Colissimo Suivi','Colissimo Suivi',0); + +-- Not used. Just to be compatible with upgrade process of higher versions +alter table llx_const add column entity integer DEFAULT 1 NOT NULL;