// Update installer

This commit is contained in:
aFolletete
2012-02-22 17:25:04 +00:00
parent 0d3f7c4771
commit a4644bfc34
4 changed files with 10 additions and 8 deletions
+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);