1
0
mirror of synced 2025-01-29 19:41:45 +03:00

[DDC-2661] Fix bug in YamlDriver not passing options from id to mapField()

This commit is contained in:
Benjamin Eberlei 2013-09-08 10:37:13 +02:00
parent fab3f5e146
commit 3719a6f2f2

View File

@ -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'])) {