Permalink
Browse files

Add blob type mapping to Doctrine bootstrap

  • Loading branch information...
1 parent 989309c commit 37942d4a7b423fa9437dff6282811d95d1e205f6 @wildlyinaccurate committed Feb 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 libraries/Doctrine.php
View
1 libraries/Doctrine.php
@@ -123,5 +123,6 @@ public function __construct()
$db_platform = $this->em->getConnection()->getDatabasePlatform();
$db_platform->registerDoctrineTypeMapping('enum', 'string');
$db_platform->registerDoctrineTypeMapping('set', 'string');
+ $db_platform->registerDoctrineTypeMapping('blob', 'string');
}
}

0 comments on commit 37942d4

Please sign in to comment.