Doctrine: Column Type Uknown
My project had the column type "eInvoicePaymentStatus". But later I decided that I didn't need it. I have removed all references to this type. But now I am getting this error
[Doctrine\DBAL\DBALException]
Unknown column type "eInvoicePaymentStatus" requested. Any Doctrine type th
at 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::g
etTypesMap(). If this error occurs during database introspection then you m
ight have forgot to register all database types for a Doctrine Type. Use Ab
stractPlatform#registerDoctrineTypeMapping() or have your custom types impl
ement Type#getMappedDatabaseTypes(). If the type name is empty you might ha
ve a problem with the cache or forgot some mapping information.
when i ran
doctrine:schema:update --force
I have removed the doctrine cache and symfony. Everyone also double-check for possible links.
+3
source to share
1 answer