1
0
mirror of synced 2025-01-17 22:11:41 +03:00
This commit is contained in:
Asmir Mustafic 2012-09-13 11:04:23 +02:00
parent f86dcfc288
commit bc277c6e28

View File

@ -79,7 +79,7 @@ class XmlExporter extends AbstractExporter
$discriminatorColumnXml = $root->addChild('discriminator-column');
$discriminatorColumnXml->addAttribute('name', $metadata->discriminatorColumn['name']);
$discriminatorColumnXml->addAttribute('type', $metadata->discriminatorColumn['type']);
if(isset($metadata->discriminatorColumn['length'])){
if (isset($metadata->discriminatorColumn['length'])) {
$discriminatorColumnXml->addAttribute('length', $metadata->discriminatorColumn['length']);
}
}