Jump to content

Recommended Posts

I'm experiencing issues with the console commands in Doctrine 2.

 

During first set up of my project I could run the console commands to update the db from my annotated models without a problem e.g.

 

doctrine orm:schema-tool:update --force

 

Since then I've been diligently working away on the project and now need to run this again. However, now when the above runs nothing happens. No error message, no report on success - the command just completes silently.

 

I'm presuming that I've done something that's broken this but I've no way of knowing without some kind of error report so I'm stumped.

 

How can I work out what the problem is????

 

Answering my own question...

 

This seems to break after I added some further classes to the models directory. In hindsight these should have been elsewhere, and, now they've been moved, the console command works again. Some kind of message would be nice though, rather than silent death.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.