Your IP : 216.73.216.220


Current Path : /var/www/magento.test.indacotrentino.com/www/app/code/Torresani/QrCodeRedirect/etc/
Upload File :
Current File : /var/www/magento.test.indacotrentino.com/www/app/code/Torresani/QrCodeRedirect/etc/db_schema.xml

<?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="qrcoderedirect_redirect" resource="default" engine="innodb" comment="qrcoderedirect_redirect">
        <column xsi:type="int" name="redirect_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Id"/>
        <column xsi:type="int" name="store_id" padding="10" unsigned="true" nullable="false" identity="false" comment="store_id"/>
        <column xsi:type="varchar" name="code" nullable="false" comment="code"/>
        <column xsi:type="text" name="url" nullable="false" comment="url"/>
        <column xsi:type="int" name="category_id" padding="10" unsigned="true" nullable="true" identity="false" comment="category_id"/>
        <column xsi:type="text" name="product_ids" nullable="true" comment="product ids comma separated"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="redirect_id"/>
        </constraint>
        <index referenceId="ID" indexType="btree">
            <column name="redirect_id"/>
        </index>
    </table>
    <table name="qrcoderedirect_visit" resource="default" engine="innodb" comment="qrcoderedirect_visit">
        <column xsi:type="int" name="visit_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Id"/>
        <column xsi:type="int" name="store_id" padding="10" unsigned="true" nullable="false" identity="false" comment="store_id"/>
        <column xsi:type="int" name="customer_id" padding="10" unsigned="true" nullable="true" identity="false" comment="customer_id"/>
        <column xsi:type="varchar" name="code" nullable="false" comment="code"/>
        <column xsi:type="text" name="url" nullable="false" comment="url"/>
        <column xsi:type="varchar" name="action" nullable="false" comment="action"/>
        <column xsi:type="varchar" name="ip" nullable="true" comment="ip"/>
        <column xsi:type="varchar" name="user_agent" nullable="true" comment="user_agent"/>
        <column xsi:type="varchar" name="operating_system" nullable="true" comment="operating_system"/>
        <column xsi:type="varchar" name="browser" nullable="true" comment="browser"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="visit_id"/>
        </constraint>
        <column xsi:type="timestamp" name="date" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
                onCreate="migrateDataFrom(date)"/>
        <index referenceId="ID" indexType="btree">
            <column name="visit_id"/>
        </index>
    </table>
</schema>