51 [
'product_alert_price',
'product_id'],
52 [
'product_alert_stock',
'product_id'],
54 foreach ($listTables as $tableData) {
72 $metadata = $this->metadataPool->getMetadata(ProductInterface::class);
73 $this->externalFKSetup->install(
75 $metadata->getEntityTable(),
76 $metadata->getIdentifierField(),
install(SchemaSetupInterface $setup, ModuleContextInterface $context)
__construct(MetadataPool $metadataPool, ExternalFKSetup $externalFKSetup)
addExternalForeignKeys(SchemaSetupInterface $installer, $tableName, $columnName)