[-] Installer: Fix #PSCFV-5367 update of uploadable_files field was missing in the upgrade of multishop

This commit is contained in:
Rémi Gaillard
2012-11-23 15:13:22 +01:00
parent a287069d66
commit f400a32884
+2
View File
@@ -9,3 +9,5 @@ UPDATE `PREFIX_order_state` SET `module_name` = 'cheque' WHERE `id_order_state`
UPDATE `PREFIX_order_state` SET `module_name` = 'bankwire' WHERE `id_order_state` = (SELECT `value` FROM `PREFIX_configuration` WHERE `name` = 'PS_OS_BANKWIRE' LIMIT 1);
ALTER TABLE `PREFIX_product_shop` ADD `uploadable_files` TINYINT NOT NULL DEFAULT 0 AFTER `customizable`;
UPDATE `PREFIX_product_shop` product_shop SET `uploadable_files` = (SELECT uploadable_files FROM `PREFIX_product` WHERE `id_product` = product_shop.`id_product`);