Support for default attribute in yaml mappings.
This commit is contained in:
parent
2811d161bb
commit
7a5ae3a1a2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user