db_schema.xml 1.4 KB

123456789101112131415161718192021222324252627
  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="core_config_data" resource="default" engine="innodb" comment="Config Data">
  11. <column xsi:type="int" name="config_id" padding="10" unsigned="true" nullable="false" identity="true"
  12. comment="Config Id"/>
  13. <column xsi:type="varchar" name="scope" nullable="false" length="8" default="default" comment="Config Scope"/>
  14. <column xsi:type="int" name="scope_id" padding="11" unsigned="false" nullable="false" identity="false"
  15. default="0" comment="Config Scope Id"/>
  16. <column xsi:type="varchar" name="path" nullable="false" length="255" default="general" comment="Config Path"/>
  17. <column xsi:type="text" name="value" nullable="true" comment="Config Value"/>
  18. <constraint xsi:type="primary" referenceId="PRIMARY">
  19. <column name="config_id"/>
  20. </constraint>
  21. <constraint xsi:type="unique" referenceId="CORE_CONFIG_DATA_SCOPE_SCOPE_ID_PATH">
  22. <column name="scope"/>
  23. <column name="scope_id"/>
  24. <column name="path"/>
  25. </constraint>
  26. </table>
  27. </schema>