I am following this tutorial. http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/getting-started.html
I am using mysql instead of sqlite.
Following command should create the database.
php vendor/bin/doctrine orm:schema-tool:create
But it is not creating any. If i manually create the database, following command works fine
php vendor/bin/doctrine orm:schema-tool:update --force
Any idea why that command is not working?
Doctrine version 2.4.1
Try this link:
vendor/bin/doctrine-module orm:schema-tool:create
User doctrine-module instead of doctrine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With