27/01/2014, 15:28
|
| | | Fecha de Ingreso: mayo-2012
Mensajes: 38
Antigüedad: 12 años, 5 meses Puntos: 0 | |
Problema Doctrine - Symfony Cordial saludo.
Estoy empezando a trabajar con Symfony.. me cree una Entidad y al crearla en la Base de Datos con doctryne me genera el siguiente error: [root@localhost Symfony]# php app/console doctrine:schema:create
ATTENTION: This operation should not be executed in a production environment.
Creating database schema...
[Doctrine\DBAL\DBALException]
Unknown column type "numeric" 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 n
ame is empty you might have a problem with the cache or forgot some mapping information.
doctrine:schema:create [--dump-sql] [--em[="..."]]
Como lo puedo solucionar ?
Gracias
__________________ LuisPuentes |