<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
    <table name="ck_brand">
        <column xsi:type="int" name="brand_id" identity="true" nullable="false" comment="Entity Id"/>
        <column xsi:type="text" name="name" nullable="false" comment="Severity code"/>
        <column xsi:type="text" name="url" nullable="false" comment="Title"/>
        <column xsi:type="text" name="image"  comment="Time of event"/>
        <column xsi:type="text" name="description" nullable="true" comment="Value"/>
        <column xsi:type="int" name="position" nullable="true" comment="Value"/>
        <column xsi:type="text" name="status" nullable="true" comment="Value"/>
        <column xsi:type="timestamp" name="created_at" default="CURRENT_TIMESTAMP" on_update="false" nullable="true" comment="Value"/>
        <column xsi:type="timestamp" name="update_time" nullable="true" default="CURRENT_TIMESTAMP" on_update="true" comment="Value"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="brand_id"/>
        </constraint>
   </table>
   <table name="ck_brand_product">
        <column xsi:type="int" name="brand_id" nullable="false" comment="Entity Id"/>
        <column xsi:type="smallint" name="product_id" unsigned="true" nullable="false" comment="Severity code"/>
        <column xsi:type="int" name="position" nullable="false" comment="Title"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="brand_id"/>
            <column name="product_id"/>
        </constraint>
   </table>
</schema>
