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
When I try to run the migration, it raises a Doctrine\DBAL\DBALException, pointing out to passthru field:
Unknown column type "passthru" 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 mapping information.
I don't have enough time to go deeper on it right now, but I will update this issue with any additional info I'm able to find out later. Anyway, if it is simple as adding it to Doctrine known-types, I think it should be pointed out in the docs. :)
Thanks!
The text was updated successfully, but these errors were encountered:
Hi @patrickcarlohickman, I've been having some problems when changing columns.
What's going on: I've got a table with a string-type field, but, I'd like to use "citext" from Postgres. Here is my migration:
When I try to run the migration, it raises a Doctrine\DBAL\DBALException, pointing out to passthru field:
I don't have enough time to go deeper on it right now, but I will update this issue with any additional info I'm able to find out later. Anyway, if it is simple as adding it to Doctrine known-types, I think it should be pointed out in the docs. :)
Thanks!
The text was updated successfully, but these errors were encountered: