doctrine/doctrine2 — pull request #979 by c960657 (2014-03-15 07:59:10+00:00)
Title: Bypass metadata cache in console commands

The console commands use the metadata cache. If the metadata has been updated, you manually need to run ``console orm:clear-cache:metadata``.

For most commands, e.g. ``console orm:schema-tool:update``, this is rather annoying. I don't see any good reason why you would generate queries to make your database match the stale metadata in the cache rather than the fresh metadata stored in files.

This patch disables the metadata cache for most commands.