1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

[2.0][DDC-215] Fixed.

This commit is contained in:
romanb 2009-12-19 13:52:36 +00:00
parent 27e8023b9b
commit d54a3ad7d0

View file

@ -189,8 +189,8 @@ class YamlDriver extends AbstractFileDriver
if (isset($fieldMapping['options'])) { if (isset($fieldMapping['options'])) {
$mapping['options'] = $fieldMapping['options']; $mapping['options'] = $fieldMapping['options'];
} }
if (isset($fieldMapping['notnull'])) { if (isset($fieldMapping['nullable'])) {
$mapping['notnull'] = $fieldMapping['notnull']; $mapping['nullable'] = $fieldMapping['nullable'];
} }
if (isset($fieldMapping['version']) && $fieldMapping['version']) { if (isset($fieldMapping['version']) && $fieldMapping['version']) {
$metadata->setVersionMapping($mapping); $metadata->setVersionMapping($mapping);