From ae00d8b2143482317d95459321c991527050f3a5 Mon Sep 17 00:00:00 2001 From: fhenry Date: Tue, 2 Apr 2013 15:03:01 +0200 Subject: [PATCH] Add import_key into llx_product_price --- htdocs/install/mysql/migration/3.3.0-3.4.0.sql | 1 + htdocs/install/mysql/tables/llx_product_price.sql | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql index c47b7a9adcf..d36cd39c441 100755 --- a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql +++ b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql @@ -208,4 +208,5 @@ ALTER TABLE llx_user ADD COLUMN zip varchar(25); ALTER TABLE llx_user ADD COLUMN town varchar(50); ALTER TABLE llx_user ADD COLUMN fk_state integer DEFAULT 0; ALTER TABLE llx_user ADD COLUMN fk_country integer DEFAULT 0; +ALTER TABLE llx_product_price ADD COLUMN import_key varchar(14) AFTER price_by_qty; diff --git a/htdocs/install/mysql/tables/llx_product_price.sql b/htdocs/install/mysql/tables/llx_product_price.sql index 86cf67b2e36..e83fbdccc2c 100644 --- a/htdocs/install/mysql/tables/llx_product_price.sql +++ b/htdocs/install/mysql/tables/llx_product_price.sql @@ -37,6 +37,7 @@ create table llx_product_price localtax2_tx double(6,3) DEFAULT 0, fk_user_author integer, tosell tinyint DEFAULT 1, - price_by_qty integer NOT NULL DEFAULT 0 + price_by_qty integer NOT NULL DEFAULT 0, + import_key varchar(14) )ENGINE=innodb;