Skip to content

Commit 94372a9

Browse files
author
edgar
committed
Fix problem with reserved keywords in mysql
1 parent f363e14 commit 94372a9

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`',
6061
'type' => 'string',
6162
'nullable' => true,
6263
));

0 commit comments

Comments
 (0)