123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?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="shipping_tablerate" resource="default" engine="innodb" comment="Shipping Tablerate">
- <column xsi:type="int" name="pk" padding="10" unsigned="true" nullable="false" identity="true"
- comment="Primary key"/>
- <column xsi:type="int" name="website_id" padding="11" unsigned="false" nullable="false" identity="false"
- default="0" comment="Website Id"/>
- <column xsi:type="varchar" name="dest_country_id" nullable="false" length="4" default="0"
- comment="Destination coutry ISO/2 or ISO/3 code"/>
- <column xsi:type="int" name="dest_region_id" padding="11" unsigned="false" nullable="false" identity="false"
- default="0" comment="Destination Region Id"/>
- <column xsi:type="varchar" name="dest_zip" nullable="false" length="10" default="*"
- comment="Destination Post Code (Zip)"/>
- <column xsi:type="varchar" name="condition_name" nullable="false" length="30" comment="Rate Condition name"/>
- <column xsi:type="decimal" name="condition_value" scale="4" precision="12" unsigned="false" nullable="false"
- default="0" comment="Rate condition value"/>
- <column xsi:type="decimal" name="price" scale="4" precision="12" unsigned="false" nullable="false" default="0"
- comment="Price"/>
- <column xsi:type="decimal" name="cost" scale="4" precision="12" unsigned="false" nullable="false" default="0"
- comment="Cost"/>
- <constraint xsi:type="primary" referenceId="PRIMARY">
- <column name="pk"/>
- </constraint>
- <constraint xsi:type="unique" referenceId="UNQ_D60821CDB2AFACEE1566CFC02D0D4CAA">
- <column name="website_id"/>
- <column name="dest_country_id"/>
- <column name="dest_region_id"/>
- <column name="dest_zip"/>
- <column name="condition_name"/>
- <column name="condition_value"/>
- </constraint>
- </table>
- <table name="salesrule" resource="default" comment="Salesrule">
- <column xsi:type="smallint" name="simple_free_shipping" padding="5" unsigned="true" nullable="false"
- identity="false" default="0" comment="Simple Free Shipping"/>
- </table>
- <table name="sales_order_item" resource="sales" comment="Sales Flat Order Item">
- <column xsi:type="smallint" name="free_shipping" padding="5" unsigned="true" nullable="false" identity="false"
- default="0" comment="Free Shipping"/>
- </table>
- <table name="quote_address" resource="checkout" comment="Sales Flat Quote Address">
- <column xsi:type="smallint" name="free_shipping" padding="5" unsigned="true" nullable="false" identity="false"
- default="0" comment="Free Shipping"/>
- </table>
- <table name="quote_item" resource="checkout" comment="Sales Flat Quote Item">
- <column xsi:type="smallint" name="free_shipping" padding="5" unsigned="true" nullable="false" identity="false"
- default="0" comment="Free Shipping"/>
- </table>
- <table name="quote_address_item" resource="checkout" comment="Sales Flat Quote Address Item">
- <column xsi:type="int" name="free_shipping" padding="10" unsigned="true" nullable="true" identity="false"
- comment="Free Shipping"/>
- </table>
- </schema>
|