<?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="autogedal_stock_router_fallback" resource="default" engine="innodb" comment="Stock Router Active Fallback State">
        <column xsi:type="varchar" name="sku" nullable="false" length="64" comment="Product SKU"/>
        <column xsi:type="varchar" name="primary_source" nullable="false" length="64" comment="Primary Source identifier"/>
        <column xsi:type="timestamp" name="activated_at" nullable="false" default="CURRENT_TIMESTAMP" comment="When fallback was activated"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="sku"/>
        </constraint>
    </table>
</schema>
