// Update installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13542 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
aFolletete
2012-02-22 17:25:04 +00:00
parent 423106c09c
commit 7c97161181
4 changed files with 10 additions and 8 deletions
-5
View File
@@ -9,8 +9,3 @@ SET o.`current_state` = (
LIMIT 1
);
/* PHP:add_unknown_gender(); */;
ALTER TABLE `PREFIX_cart_rule` ADD `gift_product_attribute` int(10) unsigned NOT NULL default 0 AFTER `gift_product`;
UPDATE `PREFIX_product` set is_virtual = 1 WHERE id_product IN (SELECT id_product FROM `PREFIX_product_download` WHERE active = 1);
+7
View File
@@ -0,0 +1,7 @@
SET NAMES 'utf8';
/* PHP:add_unknown_gender(); */;
ALTER TABLE `PREFIX_cart_rule` ADD `gift_product_attribute` int(10) unsigned NOT NULL default 0 AFTER `gift_product`;
UPDATE `PREFIX_product` set is_virtual = 1 WHERE id_product IN (SELECT id_product FROM `PREFIX_product_download` WHERE active = 1);