![]() 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-sales/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_stock_sales_channel" resource="default" engine="innodb"> <column xsi:type="varchar" name="type" nullable="false" length="64"/> <column xsi:type="varchar" name="code" nullable="false" length="64"/> <column xsi:type="int" name="stock_id" unsigned="true" nullable="false" identity="false"/> <constraint xsi:type="foreign" referenceId="INVENTORY_STOCK_SALES_CHANNEL_STOCK_ID_INVENTORY_STOCK_STOCK_ID" table="inventory_stock_sales_channel" column="stock_id" referenceTable="inventory_stock" referenceColumn="stock_id" onDelete="CASCADE"/> <constraint xsi:type="primary" referenceId="IDX_PRIMARY"> <column name="type"/> <column name="code"/> </constraint> </table> </schema>