Skip to content

Commit

Permalink
MAGETWO-66423: Remove unused entity_id foreign key #7456
Browse files Browse the repository at this point in the history
  • Loading branch information
vrann authored May 17, 2017
2 parents 7cceda8 + b5dc825 commit 3584b2e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/code/Magento/Catalog/Setup/InstallSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -2022,18 +2022,6 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
'attribute_id',
\Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
)
->addForeignKey(
$installer->getFkName(
'catalog_product_entity_media_gallery',
'entity_id',
'catalog_product_entity',
'entity_id'
),
'entity_id',
$installer->getTable('catalog_product_entity'),
'entity_id',
\Magento\Framework\DB\Ddl\Table::ACTION_CASCADE
)
->setComment(
'Catalog Product Media Gallery Attribute Backend Table'
);
Expand Down

0 comments on commit 3584b2e

Please sign in to comment.