Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[Doctrine] Entity generation from database MySQL #5617

Closed
Draeli opened this Issue Sep 27, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Draeli commented Sep 27, 2012

I use Symfony 2.1.1.

Actually I use this for generate entity from database :
php app/console doctrine:mapping:convert xml ./src/Mon/MagnifiqueBundle/Resources/config/doctrine/metadata/orm --from-database --force
php app/console doctrine:mapping:import MonMagnifiqueBundle annotation
php app/console doctrine:generate:entities MonMagnifiqueBundle

No error appear but when I open generate entities, all TINYINT and INT are declared as boolean type and not as integer.

Owner

fabpot commented Sep 27, 2012

You should report this issue on the Doctrine ticketing system.

@fabpot fabpot closed this Sep 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment