|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / app / code / Amasty / CheckoutDeliveryDate / etc / |
Filename | /home/dev2.destoffenstraat.com/app/code/Amasty/CheckoutDeliveryDate/etc/db_schema.xml |
Size | 1.68 kb |
Permission | rwxrwxrwx |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 23-Nov-2022 12:33 |
Last accessed | 21-Aug-2025 20:35 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package One Step Checkout Delivery Date for Magento 2 (System)
*/-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="amasty_amcheckout_delivery" resource="default" engine="innodb" comment="Amasty Checkout Delivery Table">
<column xsi:type="int" name="id" padding="10" unsigned="true" nullable="false" identity="true" comment="Entity ID"/>
<column xsi:type="int" name="order_id" padding="10" unsigned="true" nullable="true" identity="false" comment="Order Id"/>
<column xsi:type="int" name="quote_id" padding="10" unsigned="true" nullable="true" identity="false" comment="Quote Id"/>
<column xsi:type="date" name="date" comment="Delivery Date"/>
<column xsi:type="smallint" name="time" padding="6" unsigned="false" nullable="true" identity="false" comment="Delivery Time"/>
<column xsi:type="text" name="comment" nullable="true" comment="Delivery Comment"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="id"/>
</constraint>
<constraint xsi:type="foreign" referenceId="AMASTY_AMCHECKOUT_DELIVERY_ORDER_ID_SALES_ORDER_ENTITY_ID" table="amasty_amcheckout_delivery" column="order_id" referenceTable="sales_order" referenceColumn="entity_id" onDelete="CASCADE"/>
<constraint xsi:type="foreign" referenceId="AMASTY_AMCHECKOUT_DELIVERY_QUOTE_ID_QUOTE_ENTITY_ID" table="amasty_amcheckout_delivery" column="quote_id" referenceTable="quote" referenceColumn="entity_id" onDelete="SET NULL"/>
</table>
</schema>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package One Step Checkout Delivery Date for Magento 2 (System)
*/-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="amasty_amcheckout_delivery" resource="default" engine="innodb" comment="Amasty Checkout Delivery Table">
<column xsi:type="int" name="id" padding="10" unsigned="true" nullable="false" identity="true" comment="Entity ID"/>
<column xsi:type="int" name="order_id" padding="10" unsigned="true" nullable="true" identity="false" comment="Order Id"/>
<column xsi:type="int" name="quote_id" padding="10" unsigned="true" nullable="true" identity="false" comment="Quote Id"/>
<column xsi:type="date" name="date" comment="Delivery Date"/>
<column xsi:type="smallint" name="time" padding="6" unsigned="false" nullable="true" identity="false" comment="Delivery Time"/>
<column xsi:type="text" name="comment" nullable="true" comment="Delivery Comment"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="id"/>
</constraint>
<constraint xsi:type="foreign" referenceId="AMASTY_AMCHECKOUT_DELIVERY_ORDER_ID_SALES_ORDER_ENTITY_ID" table="amasty_amcheckout_delivery" column="order_id" referenceTable="sales_order" referenceColumn="entity_id" onDelete="CASCADE"/>
<constraint xsi:type="foreign" referenceId="AMASTY_AMCHECKOUT_DELIVERY_QUOTE_ID_QUOTE_ENTITY_ID" table="amasty_amcheckout_delivery" column="quote_id" referenceTable="quote" referenceColumn="entity_id" onDelete="SET NULL"/>
</table>
</schema>