[DDC-2661] Fix bug in YamlDriver not passing options from id to mapField()
This commit is contained in:
parent
fab3f5e146
commit
3719a6f2f2
@ -264,6 +264,10 @@ class YamlDriver extends FileDriver
|
||||
$mapping['columnDefinition'] = $idElement['columnDefinition'];
|
||||
}
|
||||
|
||||
if (isset($idElement['options'])) {
|
||||
$mapping['options'] = $idElement['options'];
|
||||
}
|
||||
|
||||
$metadata->mapField($mapping);
|
||||
|
||||
if (isset($idElement['generator'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user