Reputation: 81
I have a problem with updating database schema. I have a entity manager for connect to database via db name when user logging. I have two databases - db1 and db2. I want to update schema for each databases. Is it possible in doctrine?
Upvotes: 0
Views: 406
Reputation: 1167
Yes, it's possible, you need multiple connections defined in your config.yml. Check here http://symfony.com/doc/current/cookbook/doctrine/multiple_entity_managers.html
Upvotes: 1