diff --git a/mysql/migration/2.5.0-2.6.0.sql b/mysql/migration/2.5.0-2.6.0.sql index fbb8a24dde6..f8cc0919812 100644 --- a/mysql/migration/2.5.0-2.6.0.sql +++ b/mysql/migration/2.5.0-2.6.0.sql @@ -69,6 +69,9 @@ alter table llx_commande_fournisseur_log add column comment varchar(255) NULL; delete from llx_categorie_association where fk_categorie_mere = fk_categorie_fille; +alter table llx_societe add price_level tinyint(4) NULL; + + -- V4.1 delete from llx_projet_task where fk_projet not in (select rowid from llx_projet); -- V4.1 ALTER TABLE llx_projet_task ADD CONSTRAINT fk_projet_task_fk_projet FOREIGN KEY (fk_projet) REFERENCES llx_projet (rowid); diff --git a/mysql/tables/llx_societe.sql b/mysql/tables/llx_societe.sql index 6b466ce2aeb..f5fbe3912a6 100644 --- a/mysql/tables/llx_societe.sql +++ b/mysql/tables/llx_societe.sql @@ -68,5 +68,6 @@ create table llx_societe mode_reglement tinyint, -- mode de réglement cond_reglement tinyint, -- condition de réglement tva_assuj tinyint DEFAULT 1, -- assujeti ou non à la TVA - gencod varchar(255) -- + gencod varchar(255), -- barcode + price_level tinyint(4) NULL -- level of price for multiprices )type=innodb;