You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 regels
2.4 KiB

  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
  10. <table name="indexer_state" resource="default" engine="innodb" comment="Indexer State">
  11. <column xsi:type="int" name="state_id" unsigned="true" nullable="false" identity="true"
  12. comment="Indexer State ID"/>
  13. <column xsi:type="varchar" name="indexer_id" nullable="true" length="255" comment="Indexer ID"/>
  14. <column xsi:type="varchar" name="status" nullable="true" length="16" default="invalid"
  15. comment="Indexer Status"/>
  16. <column xsi:type="datetime" name="updated" on_update="false" nullable="true" comment="Indexer Status"/>
  17. <column xsi:type="varchar" name="hash_config" nullable="false" length="32" comment="Hash of indexer config"/>
  18. <constraint xsi:type="primary" referenceId="PRIMARY">
  19. <column name="state_id"/>
  20. </constraint>
  21. <index referenceId="INDEXER_STATE_INDEXER_ID" indexType="btree">
  22. <column name="indexer_id"/>
  23. </index>
  24. </table>
  25. <table name="mview_state" resource="default" engine="innodb" comment="View State">
  26. <column xsi:type="int" name="state_id" unsigned="true" nullable="false" identity="true"
  27. comment="View State ID"/>
  28. <column xsi:type="varchar" name="view_id" nullable="true" length="255" comment="View ID"/>
  29. <column xsi:type="varchar" name="mode" nullable="true" length="16" default="disabled" comment="View Mode"/>
  30. <column xsi:type="varchar" name="status" nullable="true" length="16" default="idle" comment="View Status"/>
  31. <column xsi:type="datetime" name="updated" on_update="false" nullable="true" comment="View updated time"/>
  32. <column xsi:type="int" name="version_id" unsigned="true" nullable="true" identity="false"
  33. comment="View Version ID"/>
  34. <constraint xsi:type="primary" referenceId="PRIMARY">
  35. <column name="state_id"/>
  36. </constraint>
  37. <index referenceId="MVIEW_STATE_VIEW_ID" indexType="btree">
  38. <column name="view_id"/>
  39. </index>
  40. <index referenceId="MVIEW_STATE_MODE" indexType="btree">
  41. <column name="mode"/>
  42. </index>
  43. </table>
  44. </schema>