1
0
mirror of synced 2025-01-09 02:27:10 +03:00

Exclude exporting inheritanceType for INHERITANCE_TYPE_NONE

This commit is contained in:
Menno Holtkamp 2014-01-05 18:53:31 +01:00
parent 797fb9c34a
commit fc2b9980ae

View File

@ -69,7 +69,7 @@ class XmlExporter extends AbstractExporter
$root->addAttribute('schema', $metadata->table['schema']); $root->addAttribute('schema', $metadata->table['schema']);
} }
if ($metadata->inheritanceType) { if ($metadata->inheritanceType && $metadata->inheritanceType !== ClassMetadataInfo::INHERITANCE_TYPE_NONE) {
$root->addAttribute('inheritance-type', $this->_getInheritanceTypeString($metadata->inheritanceType)); $root->addAttribute('inheritance-type', $this->_getInheritanceTypeString($metadata->inheritanceType));
} }