title: Migrating multiple databases using doctrine2 with Symfony2
body: <p>I have 2 databases db1 and db2 in symfony2 + doctrine2 and both databases are different from each other in terms of tables and their fields.</p>
  
  <p>I need to work on migration. Things work fine as long as there is one database.</p>
  
  <p>But it does not works when there are more than one databases.</p>
  
  <p>Also, is there any way where I can provide entity manager specific migration settings.</p>
  
  <p>Or is there any way through which I can provide connection or entity manager in the migration class.</p>