[DDC-802] Fixed wrong variable reference in XML exporter.
This commit is contained in:
parent
da63bad9c8
commit
4845745337
@ -109,7 +109,7 @@ class XmlExporter extends AbstractExporter
|
|||||||
|
|
||||||
foreach ($metadata->table['uniqueConstraints'] as $unique) {
|
foreach ($metadata->table['uniqueConstraints'] as $unique) {
|
||||||
$uniqueConstraintXml = $uniqueConstraintsXml->addChild('unique-constraint');
|
$uniqueConstraintXml = $uniqueConstraintsXml->addChild('unique-constraint');
|
||||||
$uniqueConstraintXml->addAttribute('name', $name);
|
$uniqueConstraintXml->addAttribute('name', $unique['name']);
|
||||||
$uniqueConstraintXml->addAttribute('columns', implode(',', $unique['columns']));
|
$uniqueConstraintXml->addAttribute('columns', implode(',', $unique['columns']));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user