Skip to content

Commit 3584b2e

Browse files
authored
MAGETWO-66423: Remove unused entity_id foreign key #7456
2 parents 7cceda8 + b5dc825 commit 3584b2e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Diff for: app/code/Magento/Catalog/Setup/InstallSchema.php

-12
Original file line numberDiff line numberDiff line change
@@ -2022,18 +2022,6 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
20222022
'attribute_id',
20232023
\Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
20242024
)
2025-
->addForeignKey(
2026-
$installer->getFkName(
2027-
'catalog_product_entity_media_gallery',
2028-
'entity_id',
2029-
'catalog_product_entity',
2030-
'entity_id'
2031-
),
2032-
'entity_id',
2033-
$installer->getTable('catalog_product_entity'),
2034-
'entity_id',
2035-
\Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
2036-
)
20372025
->setComment(
20382026
'Catalog Product Media Gallery Attribute Backend Table'
20392027
);

0 commit comments

Comments
 (0)