Exclude exporting inheritanceType for INHERITANCE_TYPE_NONE
This commit is contained in:
parent
797fb9c34a
commit
fc2b9980ae
@ -69,7 +69,7 @@ class XmlExporter extends AbstractExporter
|
||||
$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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user