title: Can one use different database credentials for Doctrine migrations in Symfony2?
body: <p>How can one configure Symfony's <code>DoctrineMigrationsBundle</code> to use different database authentication credentials to its <code>DoctrineBundle</code>—or at very least, a different <code>DoctrineBundle</code> connection to that used elsewhere in the app?</p>
  
  <p>We would like the app to connect to the database with only limited permissions, e.g. no ability to issue DDL commands such as  <code>CREATE</code>, <code>ALTER</code> or <code>DROP</code>.  However, migrations will need to execute such DDL commands and so should connect as a user with elevated permissions.  Is this possible?</p>