Initial Commit
This commit is contained in:
14
local/modules/DigressivePrice/Config/schema.xml
Normal file
14
local/modules/DigressivePrice/Config/schema.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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="discount" required="true" type="FLOAT" />
|
||||
<column name="quantity_from" required="true" type="INTEGER" />
|
||||
<column name="quantity_to" required="true" type="INTEGER" />
|
||||
<foreign-key foreignTable="product" name="fk_product_digressive">
|
||||
<reference local="product_id" foreign="id"/>
|
||||
</foreign-key>
|
||||
</table>
|
||||
<external-schema filename="local/config/schema.xml" referenceOnly="true" />
|
||||
</database>
|
||||
Reference in New Issue
Block a user