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

Support for default attribute in yaml mappings.

This commit is contained in:
Ben Lumley 2012-03-28 22:01:57 +02:00
parent 2811d161bb
commit 7a5ae3a1a2

View File

@ -263,6 +263,9 @@ class YamlDriver extends AbstractFileDriver
if (isset($fieldMapping['columnDefinition'])) {
$mapping['columnDefinition'] = $fieldMapping['columnDefinition'];
}
if (isset($fieldMapping['default'])) {
$mapping['default'] = $fieldMapping['default'];
}
$metadata->mapField($mapping);
}