[DMIG-25] migrating muliple databases Created: 28/Jul/11  Updated: 17/Mar/12  Resolved: 17/Mar/12

Status: Resolved
Project: Doctrine Migrations
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Ajinder Singh Assignee: Benjamin Eberlei
Resolution: Won't Fix Votes: 0
Labels: None



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.
I need to work on migration. Things work fine as long as there is one database.
But it does not works when there are more than one databases as it tries to migrate from all files [some of which are for db1, and some of them are for db2]
Also, is there any way where I can provide entity manager specific migration settings. Or is there any way through which I can provide connection or entity manager in the migration class.

Comment by Benjamin Eberlei [ 17/Mar/12 ]

This is not supported, Migrations works for exactly one database, not more.

Generated at Mon Nov 30 19:14:45 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.