[-] CORE : Preserve carrier reference integrity in cart rules when updating a carrier
This commit is contained in:
@@ -46,3 +46,5 @@ ALTER TABLE `PREFIX_address` CHANGE `phone` `phone` varchar(32) default NULL;
|
||||
ALTER TABLE `PREFIX_address` CHANGE `phone_mobile` `phone_mobile` varchar(32) default NULL;
|
||||
|
||||
/* PHP:update_genders_images(); */;
|
||||
|
||||
UPDATE `PREFIX_cart_rule_carrier` crc INNER JOIN `PREFIX_carrier` c ON crc.`id_carrier` = c.`id_carrier` SET crc.`id_carrier` = c.`id_reference`;
|
||||
Reference in New Issue
Block a user