Hi,

I've two connections in databases.yml :
all:
  connection1:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:host=myhost;dbname=dbname1;'
      username: username
      password: pwd
  connection2:
    class: sfDoctrineDatabase
    param:
      dsn: 'mysql:host=myhost;dbname=dbname2;'
      username: username
      password: pwd

I've changed some stuff in schema.yml (add foreign key on one table
from connection2 to another table from connection 1).

If I build all, there is no problem, relation is good. But I don't
want to.

I used symfony doctrine:generate-migrations-diff. So, I've now 2
generated migrations files.

But I don't find where I can say that this migration action have to
use connection1 and this other action have to use connection2.

Have you an idea ?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to