Symfony - Error al crear la estructura de la bas de datos

 
Vista:

Error al crear la estructura de la bas de datos

Publicado por lobo (1 intervención) el 20/08/2013 11:55:48
Estoy haciendo mi primer proyecto con symfony y una vez creadas las entitys de la base de datos, al ejecutar php app/console doctrine:schema:create --dump-sql me da el siguiente error

[Doctrine\DBAL\DBALException]
Unknown column type "id" requested. Any Doctrine type that you use has to b
e registered with \Doctrine\DBAL\Types\Type::addType(). You can get a list
of all the known types with \Doctrine\DBAL\Types\Type::getTypeMap(). If thi
s error occurs during database introspection then you might have forgot to
register all database types for a Doctrine Type. Use AbstractPlatform#regis
terDoctrineTypeMapping() or have your custom types implement Type#getMapped
DatabaseTypes(). If the type name is empty you might have a problem with th
e cache or forgot some mapping information.

Todas mis tablas/entidades tienen un campo id autonumerico que es la clave primaria, por lo que no se muy bien a que se refiere este error ni que buscar.

PD: Al ejecutar "php app/console generate:doctrine:entities TfgBundle" no me da ningun error
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder