Fix json type error in bin/doctrine.php see BT#13859

pull/3063/head
Julio 8 years ago
parent c9c31c8c0f
commit 5041bb4f10
  1. 10
      bin/doctrine.php

@ -47,10 +47,12 @@ Type::overrideType(
Database::getUTCDateTimeTypeClass()
);
/*Type::addType(
'json',
'Sonata\Doctrine\Types\JsonType'
);*/
if (!Type::hasType('json')) {
Type::addType(
'json',
'Sonata\Doctrine\Types\JsonType'
);
}
$commands = array(
new \Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand(),

Loading…
Cancel
Save