<?xml version="1.0" ?>
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
  <table name="reply_sottoscrizioni_sottoscrizioni" resource="default" engine="innodb" comment="reply_sottoscrizioni_sottoscrizioni Table">
    <column xsi:type="int" name="sottoscrizioni_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Entity Id"/>
    <constraint xsi:type="primary" referenceId="PRIMARY">
      <column name="sottoscrizioni_id"/>
    </constraint>
    <column name="slug_contratto" nullable="false" xsi:type="text" comment="Slug contratto"/>
    <column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" comment="Sottoscrizione Creation Time"/>
    <column xsi:type="datetime" name="updated_at" nullable="true" default="CURRENT_TIMESTAMP" comment="Date of last sottoscrizione edit"/>
    <column xsi:type="int" name="order_id" padding="11" unsigned="false" nullable="false" identity="false" default="0" comment="Order Id"/>
    <column xsi:type="tinyint" name="accepted" padding="3" unsigned="true" nullable="false" default="0" comment="Accepted (checkbox flag)"/>
    <column xsi:type="int" name="customer_id" padding="11" unsigned="false" nullable="false" identity="false" default="0" comment="Customer Id"/>

    <index referenceId="REPLY_SOTTOSCRIZIONI_ORDER_ID" indexType="btree">
        <column name="order_id"/>
    </index>
  </table>
</schema>
