Permalink
Browse files

Merge pull request #139 from kimhemsoe/mysql_binary

[Mysql Platform] Added mapping for binary and varbinary.
  • Loading branch information...
2 parents 285ca48 + 3340e20 commit 86a0b520e190af7dddf1f67e9ce6733fb3fea737 @beberlei beberlei committed May 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
@@ -738,6 +738,8 @@ protected function initializeDoctrineTypeMappings()
'blob' => 'blob',
'mediumblob' => 'blob',
'tinyblob' => 'blob',
+ 'binary' => 'blob',
+ 'varbinary' => 'blob',
);
}

0 comments on commit 86a0b52

Please sign in to comment.