处理Magento1.x升级报错`catalog_product_index_website

处理Magento1.x升级报错`catalog_product_index_website
app\code\core\Mage\Catalog\sql\catalog_setup\mysql4-upgrade-1.4.0.0.19-1.4.0.0.20.php" - SQLSTATE[HY000]: General error: 1005 Can't create table `mup11`.`catalog_product_index_website` (errno: 150 "Foreign key constraint is incorrectly formed")

=======================================
CREATE TABLE IF NOT EXISTS `catalog_product_index_website` (
`website_id` smallint(5) unsigned NOT NULL COMMENT 'Website ID',
`website_date` date DEFAULT NULL COMMENT 'Website Date',
`rate` float DEFAULT '1' COMMENT 'Rate',
PRIMARY KEY (`website_id`),
KEY `IDX_CATALOG_PRODUCT_INDEX_WEBSITE_WEBSITE_DATE` (`website_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Catalog Product Website Index Table';

发表评论
Magento2 技术支持 上门服务

工作时间
周一至周六
9:00-18:00
相关咨询电话
15360669780
侨海科技