mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3381: orm:schema-tool:update shows incorrect changes with MasterSlaveConnection wrapper class #4177
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 9, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user pietervogelaar:
My entities and database are in sync. If I use the default Doctrine connection configuration it shows "Nothing to update - your database is already in sync with the current entity metadata.". This is what I would expect and is correct.
But with the MasterSlaveConnection configuration, I always get the same changes which are a lot, you would think the database is empty at the moment.
@doctrinebot commented on GitHub (Nov 10, 2014):
Comment created by @ocramius:
Can you come up with a functional test case for this? Couldn't reproduce from here.
@doctrinebot commented on GitHub (May 28, 2015):
Comment created by cartel_denniss:
Hello, I'm on a Symfony 2.6.6 project and I encountered the same problems. Although:
shell> php app/console doctrine:cache:clear-metadata
.. did the trick for me!