mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Multiple ORMs for all database
This commit is contained in:
@@ -822,7 +822,7 @@ abstract class base implements cache_cacheableInterface
|
||||
$migration = $version->getMigration();
|
||||
|
||||
// Inject entity manager
|
||||
$migration->setEntityManager($app['EM']);
|
||||
$migration->setEntityManager($app['orm.em']);
|
||||
|
||||
// Execute migration if not marked as migrated and not already applied by an older patch
|
||||
if (!$migration->isAlreadyApplied()) {
|
||||
|
Reference in New Issue
Block a user