diff options
Diffstat (limited to 'Aufgabe06/schema.xml')
| -rw-r--r-- | Aufgabe06/schema.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Aufgabe06/schema.xml b/Aufgabe06/schema.xml index 10f4dab..1df03fd 100644 --- a/Aufgabe06/schema.xml +++ b/Aufgabe06/schema.xml @@ -19,7 +19,7 @@ <parameter name="Engine" value="InnoDB"/> </vendor> </table> - <table name="product_category" idMethod="native" phpName="ProductCategory"> + <table name="product_category" idMethod="native" phpName="ProductCategory" isCrossRef="true"> <column name="product_id" phpName="ProductId" type="INTEGER" primaryKey="true" required="true"/> <column name="category_id" phpName="CategoryId" type="INTEGER" primaryKey="true" required="true"/> <foreign-key foreignTable="category" name="product_category_ibfk_1"> @@ -42,4 +42,4 @@ <parameter name="Engine" value="InnoDB"/> </vendor> </table> -</database>
\ No newline at end of file +</database> |
