This fixes ticket DDC-3028
Enables columnPrefix to be "false" so no prefix is added. Changed the structure a bit (to if/else) to be more readable with the additional condition.
This commit is contained in:
parent
871dc5d186
commit
83ef47c8d0
@ -3200,10 +3200,6 @@ class ClassMetadataInfo implements ClassMetadata
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// $fieldMapping['columnName'] = ! empty($this->embeddedClasses[$property]['columnPrefix']) || $this->embeddedClasses[$property]['columnPrefix'] === false
|
|
||||||
// ? $this->embeddedClasses[$property]['columnPrefix'] . $fieldMapping['columnName']
|
|
||||||
// : $this->namingStrategy->embeddedFieldToColumnName($property, $fieldMapping['columnName'], $this->reflClass->name, $embeddable->reflClass->name);
|
|
||||||
|
|
||||||
$this->mapField($fieldMapping);
|
$this->mapField($fieldMapping);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user