From 61440d4394c861efe977ffd56a7dfed84791e33e Mon Sep 17 00:00:00 2001 From: Juanjo Menent <jmenent@2byte.es> Date: Tue, 10 Aug 2010 18:18:04 +0000 Subject: [PATCH] Task #9643: Prepare database --- htdocs/install/mysql/migration/2.9.0-3.0.0.sql | 2 +- htdocs/install/mysql/tables/llx_product.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql index 5af8870dc2e..63bf6a752a1 100644 --- a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql +++ b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql @@ -11,5 +11,5 @@ alter table llx_product add column recuperableonly integer NOT NULL DEFAUL alter table llx_product_price add column recuperableonly integer NOT NULL DEFAULT '0' after tva_tx; - +alter table llx_product add column tobuy tinyint DEFAULT 1 after envente; \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_product.sql b/htdocs/install/mysql/tables/llx_product.sql index bb3008ddff1..9562dc9f968 100644 --- a/htdocs/install/mysql/tables/llx_product.sql +++ b/htdocs/install/mysql/tables/llx_product.sql @@ -44,6 +44,7 @@ create table llx_product localtax2_tx double(6,3) DEFAULT 0, -- Spanish local VAT 2 fk_user_author integer, envente tinyint DEFAULT 1, + tobuy tinyint DEFAULT 1, fk_product_type integer DEFAULT 0, -- Type 0 for regular product, 1 for service duration varchar(6), seuil_stock_alerte integer DEFAULT 0, -- GitLab