Commit 15db4bd5 authored by zYne's avatar zYne

--no commit message

--no commit message
parent fae059c8
...@@ -328,6 +328,10 @@ class Doctrine_Relation_Parser ...@@ -328,6 +328,10 @@ class Doctrine_Relation_Parser
$def['foreign'] = $def['table']->getIdentifier(); $def['foreign'] = $def['table']->getIdentifier();
$def['localKey'] = true; $def['localKey'] = true;
} }
} else {
if ($def['local'] !== $this->_table->getIdentifier()) {
$def['localKey'] = true;
}
} }
} else { } else {
if (isset($def['foreign'])) { if (isset($def['foreign'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment