[DDC-2661] Fix bug in YamlDriver not passing options from id to mapField()
This commit is contained in:
parent
1221cc3a2a
commit
de3b237292
@ -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