Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/klarna/module-core/etc/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/klarna/module-core/etc/db_schema.xml

<?xml version="1.0"?>
<!--
/**
 * This file is part of the Klarna Core module
 *
 * (c) Klarna Bank AB (publ)
 *
 * For the full copyright and license information, please view the NOTICE
 * and LICENSE files that were distributed with this source code.
 */
-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
    <table name="klarna_core_order" resource="default"
           engine="innodb" comment="Klarna Order">
        <column name="id" xsi:type="int" padding="10" unsigned="true"
                nullable="false" identity="true" comment="Entity Id"/>
        <column name="klarna_order_id" xsi:type="varchar" length="255"
                nullable="true" comment="Klarna Order Id"/>
        <column name="session_id" xsi:type="varchar" length="255" nullable="true" comment="Session Id"/>
        <column name="reservation_id" xsi:type="varchar" length="255"
                nullable="true" comment="Reservation Id"/>
        <column name="order_id" xsi:type="int" padding="10" unsigned="true" nullable="false" identity="false"
                comment="Order Id"/>
        <column name="is_acknowledged" xsi:type="smallint" padding="6" unsigned="false" nullable="false"
                identity="false" default="0" comment="Is Acknowledged"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="id"/>
        </constraint>
        <index referenceId="KLARNA_CORE_ORDER_IS_ACKNOWLEDGED" indexType="btree">
            <column name="is_acknowledged"/>
        </index>
        <index referenceId="KLARNA_CORE_ORDER_ORDER_ID" indexType="btree">
            <column name="order_id"/>
        </index>
    </table>

    <table name="klarna_logs" resource="default" engine="innodb" comment="Klarna Logs">
        <column xsi:type="smallint" name="log_id" unsigned="false" nullable="false" identity="true" comment="Log Id"/>
        <column xsi:type="varchar" name="status" nullable="false" length="255" comment="Status"/>
        <column xsi:type="varchar" name="action" length="255" comment="Action"/>
        <column xsi:type="varchar" name="klarna_id" length="255" comment="Klarna Id"/>
        <column xsi:type="varchar" name="increment_id" length="255" comment="Increment Id"/>
        <column xsi:type="varchar" name="url" nullable="false" length="255" comment="Url"/>
        <column xsi:type="varchar" name="method" nullable="false" length="255" comment="Method"/>
        <column xsi:type="varchar" name="service" nullable="false" length="255" comment="Service"/>
        <column xsi:type="text" name="request" comment="Request"/>
        <column xsi:type="text" name="response" comment="Response"/>
        <column xsi:type="datetime" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP" comment="Created at"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="log_id"/>
        </constraint>
        <index referenceId="KLARNA_LOGS_ORDER_ID" indexType="btree">
            <column name="klarna_id"/>
        </index>
        <index referenceId="KLARNA_LOGS_ACTION_KLARNA_ID_INCREMENT_ID_URL" indexType="fulltext">
            <column name="action"/>
            <column name="klarna_id"/>
            <column name="increment_id"/>
            <column name="url"/>
        </index>
    </table>
</schema>