Fix error

This commit is contained in:
Ruben 2016-09-01 11:27:43 +01:00
parent d8f0b8ae0a
commit 12d6cce5d1

View file

@ -67,7 +67,7 @@ class Application {
$conn = DriverManager::getConnection($connectionParams, $connectionConfig);
$platform = $conn->getDatabasePlatform();
$platform->registerDoctrineTypeMapping('enum', 'string');
Type::addType('utctime', EmotionHero\Tools\UTCDateTimeType::class);
Type::addType('utctime', Tools\UTCDateTimeType::class);
$platform->registerDoctrineTypeMapping('datetime', 'utctime');