Skip to content

Commit eb688a5

Browse files
committed
Merge pull request #308 from wearemarketing/fix-reserved-keyword
Fix problem with reserved keywords in mysql
2 parents f363e14 + 61f0802 commit eb688a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doctrine/RouteConditionMetadataListener.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs)
5757
/** @var $meta OrmClassMetadata */
5858
$meta->mapField(array(
5959
'fieldName' => 'condition',
60+
'columnName' => 'condition_expr',
6061
'type' => 'string',
6162
'nullable' => true,
6263
));

0 commit comments

Comments
 (0)