From 5d5eb3c829a0ae8ee27c5f2e268915e11a2e2f6b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 17 Mar 2010 11:51:51 +0000 Subject: [PATCH] Remove field stock_loc because location of product in a warehouse can't be set into the product table as it can differs between warehouses. Such feature must be stored in the join table. --- htdocs/install/mysql/migration/2.8.0-2.9.0.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql index 973b087b12b..5857b32bac4 100755 --- a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql +++ b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql @@ -83,3 +83,5 @@ alter table llx_product add column surface_units tinyint DEFAULT NUL alter table llx_product add column accountancy_code_sell varchar(15) after fk_barcode_type; alter table llx_product add column accountancy_code_buy varchar(15) after accountancy_code_sell; + +ALTER TABLE llx_product drop column stock_loc;