Fix error
This commit is contained in:
parent
d8f0b8ae0a
commit
12d6cce5d1
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class Application {
|
||||||
$conn = DriverManager::getConnection($connectionParams, $connectionConfig);
|
$conn = DriverManager::getConnection($connectionParams, $connectionConfig);
|
||||||
$platform = $conn->getDatabasePlatform();
|
$platform = $conn->getDatabasePlatform();
|
||||||
$platform->registerDoctrineTypeMapping('enum', 'string');
|
$platform->registerDoctrineTypeMapping('enum', 'string');
|
||||||
Type::addType('utctime', EmotionHero\Tools\UTCDateTimeType::class);
|
Type::addType('utctime', Tools\UTCDateTimeType::class);
|
||||||
$platform->registerDoctrineTypeMapping('datetime', 'utctime');
|
$platform->registerDoctrineTypeMapping('datetime', 'utctime');
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue