Module DigressivePrice

This commit is contained in:
2021-04-08 15:57:38 +02:00
parent 99f3749535
commit f608c9332b
17041 changed files with 3164200 additions and 14 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<database defaultIdMethod="native" name="thelia" namespace="DigressivePrice\Model">
<table name="digressive_price">
<column name="id" autoIncrement="true" primaryKey="true" required="true" type="INTEGER" />
<column name="product_id" required="true" type="INTEGER" />
<column name="price" required="true" scale="6" size="16" type="DECIMAL" defaultValue="0.000000" />
<column name="promo_price" required="true" scale="6" size="16" type="DECIMAL" defaultValue="0.000000" />
<column name="quantity_from" required="true" type="INTEGER" />
<column name="quantity_to" required="true" type="INTEGER" />
<foreign-key foreignTable="product" name="fk_product_digressive" onDelete="CASCADE" onUpdate="RESTRICT">
<reference local="product_id" foreign="id"/>
</foreign-key>
</table>
<external-schema filename="local/config/schema.xml" referenceOnly="true" />
</database>