From 6fd4857706c212659d117ee5f0b4f19d943dbdd4 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Wed, 27 Feb 2013 16:51:19 +0100 Subject: [PATCH] [-] INSTALLER : Fix bug #PSCFV-6128 do not loose custos on orders from 1.4.X --- install-dev/upgrade/sql/1.5.0.0.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-dev/upgrade/sql/1.5.0.0.sql b/install-dev/upgrade/sql/1.5.0.0.sql index 9222b64bc..779207d8e 100755 --- a/install-dev/upgrade/sql/1.5.0.0.sql +++ b/install-dev/upgrade/sql/1.5.0.0.sql @@ -316,3 +316,5 @@ INSERT INTO `PREFIX_scene_shop` (id_shop, id_scene) (SELECT 1, id_scene FROM PRE ALTER TABLE `PREFIX_delivery` ADD `id_shop` INT UNSIGNED NULL DEFAULT NULL AFTER `id_delivery`, ADD `id_group_shop` INT UNSIGNED NULL DEFAULT NULL AFTER `id_shop`; /* PHP:create_multistore(); */; + +UPDATE `PREFIX_customization` INNER JOIN `PREFIX_orders` USING(id_cart) SET in_cart = 1;