<?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="catalog_product_entity_media_gallery" resource="default" engine="innodb"
           comment="Catalog Product Media Gallery Attribute Backend Table">
        <column xsi:type="smallint" name="worn" padding="5" unsigned="true" nullable="false" identity="false"
                default="0" comment="Worn status"/>
    </table>
    <table name="catalog_product_entity_media_gallery_value" resource="default" engine="innodb"
           comment="Catalog Product Media Gallery Attribute Value Table">
        <column xsi:type="smallint" name="worn" padding="5" unsigned="true" nullable="false" identity="false"
                default="0" comment="Worn status"/>
    </table>
    <table name="catalog_product_option_type_value" resource="default" engine="innodb"
           comment="Catalog Product Option Type Value Table">
        <column xsi:type="text" name="custom_image" nullable="true"
                comment="Custom Option Image"/>
    </table>
</schema>
