db_schema.xml 1023 B

123456789101112131415161718192021
  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="captcha_log" resource="default" engine="innodb" comment="Count Login Attempts">
  11. <column xsi:type="varchar" name="type" nullable="false" length="32" comment="Type"/>
  12. <column xsi:type="varchar" name="value" nullable="false" length="255" comment="Value"/>
  13. <column xsi:type="int" name="count" padding="10" unsigned="true" nullable="false" identity="false" default="0"
  14. comment="Count"/>
  15. <column xsi:type="timestamp" name="updated_at" on_update="false" nullable="true" comment="Update Time"/>
  16. <constraint xsi:type="primary" referenceId="PRIMARY">
  17. <column name="type"/>
  18. <column name="value"/>
  19. </constraint>
  20. </table>
  21. </schema>