ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" ?>
|
||||
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
|
||||
<table name="inventory_source_customer" resource="default" engine="innodb" comment="customer preferred inventory source Table">
|
||||
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" identity="true" nullable="false" comment="Entity Id"/>
|
||||
<constraint xsi:type="primary" referenceId="PRIMARY">
|
||||
<column name="entity_id"/>
|
||||
</constraint>
|
||||
<column name="source_code" nullable="false" xsi:type="varchar" length="255" comment="Inventory Source Code" />
|
||||
<column name="customer_id" nullable="false" xsi:type="int" comment="customer_id" unsigned="true"/>
|
||||
<index referenceId="inventory_source_customer_id" indexType="btree">
|
||||
<column name="customer_id"/>
|
||||
</index>
|
||||
<constraint xsi:type="foreign" referenceId="CUSTOMER_ENTITY_ID" table="inventory_source_customer"
|
||||
column="customer_id" referenceTable="customer_entity" referenceColumn="entity_id" onDelete="CASCADE"/>
|
||||
</table>
|
||||
|
||||
<table name="inventory_source">
|
||||
<column xsi:type="varchar" name="netsuite_id" nullable="true" length="255"/>
|
||||
</table>
|
||||
</schema>
|
||||
Reference in New Issue
Block a user