<?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="facebook_catalog_update" resource="sales" engine="innodb" comment="Meta Catalog Update">
        <column xsi:type="int" name="row_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Row ID"/>
        <column xsi:type="int" name="product_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Product ID"/>
        <column xsi:type="varchar" name="sku" nullable="true" length="255" comment="Product Sku"/>
        <column xsi:type="varchar" name="method" nullable="true" length="255" comment="Method"/>
        <column xsi:type="varchar" name="batch_id" nullable="true" length="255" comment="Batch Id"/>
        <column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" comment="Created At"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="row_id"/>
        </constraint>
    </table>
</schema>
