summaryrefslogtreecommitdiffstats
path: root/Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-05-04 12:32:33 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-05-04 12:32:33 +0200
commit66b34314d67c695b899b704feffbe723453f1dbf (patch)
treeb6a69358442065692ef546ad836abefd722e89ee /Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php
parentf6933b82bbdb767480abf4cf6818b2db56fae1cc (diff)
downloadInternetTechnologien-66b34314d67c695b899b704feffbe723453f1dbf.tar.gz
InternetTechnologien-66b34314d67c695b899b704feffbe723453f1dbf.zip
Use isCrossRef for a many-to-many relation
Diffstat (limited to 'Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php')
-rw-r--r--Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php b/Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php
index 44d7849..262f098 100644
--- a/Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php
+++ b/Aufgabe06/generated-classes/Map/ProductCategoryTableMap.php
@@ -130,6 +130,7 @@ class ProductCategoryTableMap extends TableMap
$this->setClassName('\\ProductCategory');
$this->setPackage('');
$this->setUseIdGenerator(false);
+ $this->setIsCrossRef(true);
// columns
$this->addForeignPrimaryKey('product_id', 'ProductId', 'INTEGER' , 'product', 'id', true, null, null);
$this->addForeignPrimaryKey('category_id', 'CategoryId', 'INTEGER' , 'category', 'id', true, null, null);