Fixed wrong fk in product table

This commit is contained in:
Franck Allimant
2014-07-01 02:36:46 +02:00
parent ceb5b595a8
commit b4f3e3b60a
5 changed files with 72 additions and 21 deletions

View File

@@ -49,7 +49,7 @@
</foreign-key>
<foreign-key foreignTable="template" name="fk_product_template" onDelete="SET NULL">
<reference foreign="id" local="template_id" />
</foreign-key>
</foreign-key>
<foreign-key foreignTable="brand" name="fk_product_brand" onDelete="SET NULL" onUpdate="RESTRICT">
<reference foreign="id" local="brand_id" />
</foreign-key>