@@ -262,44 +262,6 @@ private function addCatalogProductFrontendActionTable(SchemaSetupInterface $inst
262
262
$ installer ->getConnection ()->createTable ($ table );
263
263
}
264
264
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
-
303
265
/**
304
266
* Add the column 'source_id' to the Product EAV index tables.
305
267
* It allows to identify which entity was used to create value in the index.
0 commit comments