1
0
mirror of synced 2024-12-13 14:56:01 +03:00

[DDC-2280] length attribute in <id> was not converted.

This commit is contained in:
Benjamin Eberlei 2013-05-09 18:15:41 +02:00
parent 665efad039
commit b53f4fd4cc

View File

@ -155,6 +155,10 @@ class XmlExporter extends AbstractExporter
$idXml->addAttribute('column', $field['columnName']);
}
if (isset($field['length'])) {
$idXml->addAttribute('length', $field['length']);
}
if (isset($field['associationKey']) && $field['associationKey']) {
$idXml->addAttribute('association-key', 'true');
}