![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-inventory-reservations/etc/ |
<?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="inventory_reservation" resource="default" engine="innodb"> <column xsi:type="int" name="reservation_id" unsigned="true" nullable="false" identity="true"/> <column xsi:type="int" name="stock_id" unsigned="true" nullable="false" identity="false"/> <column xsi:type="varchar" name="sku" nullable="false" length="64"/> <column xsi:type="decimal" name="quantity" scale="4" precision="10" unsigned="false" nullable="false" default="0"/> <column xsi:type="varchar" name="metadata" nullable="true" length="255"/> <constraint xsi:type="primary" referenceId="PRIMARY"> <column name="reservation_id"/> </constraint> <index referenceId="INVENTORY_RESERVATION_STOCK_ID_SKU_QUANTITY" indexType="btree"> <column name="stock_id"/> <column name="sku"/> <column name="quantity"/> </index> </table> </schema>