mview.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Mview/etc/mview.xsd">
  9. <view id="catalogrule_rule" class="Magento\CatalogRule\Model\Indexer\Rule\RuleProductIndexer" group="indexer">
  10. <subscriptions>
  11. <table name="catalogrule" entity_column="rule_id" />
  12. </subscriptions>
  13. </view>
  14. <view id="catalogrule_product" class="Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer" group="indexer">
  15. <subscriptions>
  16. <table name="catalog_product_entity" entity_column="entity_id" />
  17. <table name="catalog_product_entity_datetime" entity_column="entity_id" />
  18. <table name="catalog_product_entity_decimal" entity_column="entity_id" />
  19. <table name="catalog_product_entity_gallery" entity_column="entity_id" />
  20. <table name="catalog_product_entity_int" entity_column="entity_id" />
  21. <table name="catalog_product_entity_text" entity_column="entity_id" />
  22. <table name="catalog_product_entity_tier_price" entity_column="entity_id" />
  23. <table name="catalog_product_entity_varchar" entity_column="entity_id" />
  24. <table name="catalog_category_product" entity_column="product_id" />
  25. </subscriptions>
  26. </view>
  27. <view id="catalog_product_price" class="Magento\Catalog\Model\Indexer\Product\Price" group="indexer">
  28. <subscriptions>
  29. <table name="catalogrule_product_price" entity_column="product_id" />
  30. </subscriptions>
  31. </view>
  32. </config>