You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Doctrine\DBAL\DBALException]
Unknown column type "dateinterval" requested. Any Doctrine type that you use has to be registered with \Doctrine\
DBAL\Types\Type::addType(). You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap
(). If this error occurs during database introspection then you might have forgot to register all database types
for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom types implement Type#
getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mappin
g information.
I am using doctrine/dbal v2.5.12 and doctrine/orm v2.5.6.
The text was updated successfully, but these errors were encountered:
The documentation mentions we can use
dateinterval
type.However when I try to use it like:
I get:
I am using
doctrine/dbal
v2.5.12 anddoctrine/orm
v2.5.6.The text was updated successfully, but these errors were encountered: