diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-05-04 12:32:33 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-05-04 12:32:33 +0200 |
| commit | 66b34314d67c695b899b704feffbe723453f1dbf (patch) | |
| tree | b6a69358442065692ef546ad836abefd722e89ee /Aufgabe06/schema.xml | |
| parent | f6933b82bbdb767480abf4cf6818b2db56fae1cc (diff) | |
| download | InternetTechnologien-66b34314d67c695b899b704feffbe723453f1dbf.tar.gz InternetTechnologien-66b34314d67c695b899b704feffbe723453f1dbf.zip | |
Use isCrossRef for a many-to-many relation
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> |
