您好,当我尝试更新 Symphony 应用程序中的学说方案时,我刚刚收到错误。我跑
php app/console doctrine:schema:update --force
Run Code Online (Sandbox Code Playgroud)
并收到错误此错误
[Doctrine\DBAL\DBALException]
Unknown column type "mystoragetype" 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::getTypeMap().
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 …Run Code Online (Sandbox Code Playgroud)