小编Mus*_*faB的帖子

学说 - 请求未知的列类型“mystoragetype”

您好,当我尝试更新 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)

php symfony doctrine-orm

3
推荐指数
1
解决办法
5327
查看次数

标签 统计

doctrine-orm ×1

php ×1

symfony ×1