From aae8a623689a079e2fe275b8af19e5f48f05f18e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= <csalvador@gpcsolutions.fr> Date: Thu, 30 May 2013 16:58:23 +0200 Subject: [PATCH] added the desiredstock parameter in the SQL scripts --- htdocs/install/mysql/migration/3.4.0-3.5.0.sql | 2 ++ htdocs/install/mysql/tables/llx_product.sql | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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; -- GitLab