diff --git a/mysql/migration/2.1.0-2.2.0.sql b/mysql/migration/2.1.0-2.2.0.sql index 751b0e20bf3..20d647b4428 100644 --- a/mysql/migration/2.1.0-2.2.0.sql +++ b/mysql/migration/2.1.0-2.2.0.sql @@ -870,4 +870,6 @@ ALTER TABLE llx_product_fournisseur_price ADD INDEX idx_product_fournisseur_pric ALTER TABLE llx_product_fournisseur_price_log DROP COLUMN fk_soc; ALTER TABLE llx_product_fournisseur_price_log CHANGE fk_product fk_product_fournisseur integer NOT NULL; -ALTER TABLE llx_commande_fournisseurdet MODIFY fk_commande integer NOT NULL; \ No newline at end of file +ALTER TABLE llx_commande_fournisseurdet MODIFY fk_commande integer NOT NULL; + +ALTER TABLE llx_product_fournisseur ADD COLUMN partnumber varchar(30) after ref_fourn; \ No newline at end of file diff --git a/mysql/tables/llx_product_fournisseur.sql b/mysql/tables/llx_product_fournisseur.sql index 9a0021f63e0..1f726cff6c2 100644 --- a/mysql/tables/llx_product_fournisseur.sql +++ b/mysql/tables/llx_product_fournisseur.sql @@ -28,6 +28,7 @@ create table llx_product_fournisseur fk_product integer, fk_soc integer, ref_fourn varchar(30), + partnumber varchar(30), fk_user_author integer, key(fk_product),