Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-new-relic-reporting/etc/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/module-new-relic-reporting/etc/db_schema.xml

<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
    <table name="reporting_counts" resource="default" engine="innodb"
           comment="Reporting for all count related events generated via the cron job">
        <column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="true"
                comment="Entity ID"/>
        <column xsi:type="varchar" name="type" nullable="true" length="255" comment="Item Reported"/>
        <column xsi:type="int" name="count" unsigned="true" nullable="true" identity="false"
                comment="Count Value"/>
        <column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
                comment="Updated At"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="entity_id"/>
        </constraint>
    </table>
    <table name="reporting_module_status" resource="default" engine="innodb" comment="Module Status Table">
        <column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="true"
                comment="Module ID"/>
        <column xsi:type="varchar" name="name" nullable="true" length="255" comment="Module Name"/>
        <column xsi:type="varchar" name="active" nullable="true" length="255" comment="Module Active Status"/>
        <column xsi:type="varchar" name="setup_version" nullable="true" length="255" comment="Module Version"/>
        <column xsi:type="varchar" name="state" nullable="true" length="255" comment="Module State"/>
        <column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
                comment="Updated At"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="entity_id"/>
        </constraint>
    </table>
    <table name="reporting_orders" resource="default" engine="innodb" comment="Reporting for all orders">
        <column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="true"
                comment="Entity ID"/>
        <column xsi:type="int" name="customer_id" unsigned="true" nullable="true" identity="false"
                comment="Customer ID"/>
        <column xsi:type="decimal" name="total" scale="4" precision="20" unsigned="true" nullable="true"/>
        <column xsi:type="decimal" name="total_base" scale="4" precision="20" unsigned="true" nullable="true"/>
        <column xsi:type="int" name="item_count" unsigned="true" nullable="false" identity="false"
                comment="Line Item Count"/>
        <column xsi:type="timestamp" name="updated_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
                comment="Updated At"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="entity_id"/>
        </constraint>
    </table>
    <table name="reporting_users" resource="default" engine="innodb" comment="Reporting for user actions">
        <column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="true"
                comment="Entity ID"/>
        <column xsi:type="varchar" name="type" nullable="true" length="255" comment="User Type"/>
        <column xsi:type="varchar" name="action" nullable="true" length="255" comment="Action Performed"/>
        <column xsi:type="timestamp" name="updated_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
                comment="Updated At"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="entity_id"/>
        </constraint>
    </table>
    <table name="reporting_system_updates" resource="default" engine="innodb" comment="Reporting for system updates">
        <column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="true"
                comment="Entity ID"/>
        <column xsi:type="varchar" name="type" nullable="true" length="255" comment="Update Type"/>
        <column xsi:type="varchar" name="action" nullable="true" length="255" comment="Action Performed"/>
        <column xsi:type="timestamp" name="updated_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
                comment="Updated At"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="entity_id"/>
        </constraint>
    </table>
</schema>