Skip to content

Commit d53b170

Browse files
author
Sergii Kovalenko
committed
MAGETWO-56062: [Github #3890] Recently Viewed Products block does not appear when FPC is enabled
--rebase conflict
1 parent 46d3db9 commit d53b170

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

app/code/Magento/Catalog/Setup/UpgradeSchema.php

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -262,44 +262,6 @@ private function addCatalogProductFrontendActionTable(SchemaSetupInterface $inst
262262
$installer->getConnection()->createTable($table);
263263
}
264264

265-
/**
266-
* Change definition of customer group id column
267-
*
268-
* @param SchemaSetupInterface $setup
269-
* @return void
270-
*/
271-
private function fixCustomerGroupIdColumn(SchemaSetupInterface $setup)
272-
{
273-
$tables = [
274-
'catalog_product_entity_tier_price',
275-
'catalog_product_index_price_cfg_opt_agr_idx',
276-
'catalog_product_index_price_cfg_opt_agr_tmp',
277-
'catalog_product_index_price_cfg_opt_idx',
278-
'catalog_product_index_price_cfg_opt_tmp',
279-
'catalog_product_index_price_final_idx',
280-
'catalog_product_index_price_final_tmp',
281-
'catalog_product_index_price_idx',
282-
'catalog_product_index_price_opt_agr_idx',
283-
'catalog_product_index_price_opt_agr_tmp',
284-
'catalog_product_index_price_opt_idx',
285-
'catalog_product_index_price_opt_tmp',
286-
'catalog_product_index_price_tmp',
287-
];
288-
foreach ($tables as $table) {
289-
$setup->getConnection()->modifyColumn(
290-
$setup->getTable($table),
291-
'customer_group_id',
292-
[
293-
'type' => Table::TYPE_INTEGER,
294-
'nullable' => false,
295-
'unsigned' => true,
296-
'default' => '0',
297-
'comment' => 'Customer Group ID',
298-
]
299-
);
300-
}
301-
}
302-
303265
/**
304266
* Add the column 'source_id' to the Product EAV index tables.
305267
* It allows to identify which entity was used to create value in the index.

0 commit comments

Comments
 (0)