diff --git a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql index f13042bff2e..a25413f017b 100755 --- a/htdocs/install/mysql/migration/3.4.0-3.5.0.sql +++ b/htdocs/install/mysql/migration/3.4.0-3.5.0.sql @@ -31,6 +31,8 @@ create table llx_fichinter_extrafields ) ENGINE=innodb; ALTER TABLE llx_fichinter_extrafields ADD INDEX idx_ficheinter_extrafields (fk_object); +ALTER TABLE llx_product ADD COLUMN desiredstock integer DEFAULT 0; + create table llx_commandedet_extrafields ( diff --git a/htdocs/install/mysql/tables/llx_product.sql b/htdocs/install/mysql/tables/llx_product.sql index 5e851d910a7..f9c1dbb54cb 100644 --- a/htdocs/install/mysql/tables/llx_product.sql +++ b/htdocs/install/mysql/tables/llx_product.sql @@ -70,5 +70,6 @@ create table llx_product canvas varchar(32) DEFAULT NULL, finished tinyint DEFAULT NULL, hidden tinyint DEFAULT 0, -- Need permission see also hidden products - import_key varchar(14) -- Import key + import_key varchar(14), -- Import key + desiredstock integer DEFAULT 0 )ENGINE=innodb;