Created
June 25, 2020 16:15
-
-
Save rickdaalhuizen90/e11a07e75aedac2ebbfb5fa8a21706be to your computer and use it in GitHub Desktop.
Magento 2 generated declarative schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="quote_item_file" resource="default" engine="innodb" comment="Quote Item File Table"> | |
<column xsi:type="int" name="entity_id" padding="11" unsigned="false" nullable="false" identity="true" comment="Entity ID"/> | |
<column xsi:type="varchar" name="filename" nullable="false" length="255" comment="Filename"/> | |
<column xsi:type="varchar" name="location" nullable="false" length="255" comment="Location of file"/> | |
<column xsi:type="int" name="quote_item_item_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Item Id"/> | |
<constraint xsi:type="primary" referenceId="PRIMARY"> | |
<column name="entity_id"/> | |
</constraint> | |
<constraint xsi:type="foreign" referenceId="QUOTE_ITEM_FILE_QUOTE_ITEM_ITEM_ID_QUOTE_ITEM_ITEM_ID" table="quote_item_file" column="quote_item_item_id" referenceTable="quote_item" referenceColumn="item_id" onDelete="CASCADE"/> | |
</table> | |
</schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment