Use multiple databases with pimcore

Hey guys,
so we are developing some features in our pimcore application and we want to share those features across different databases to be able to have them on different servers.

In our Plugin we write we use an Installer to install the plugin.
This installer gets a MigrationManager and this MigrationManager gets a Connection object.

The problem is, that it only takes the default connection object and not the db connection we configured for our entities.

Is there any way we can tell the MigrationManager to use our Connection instead of default Pimcore?

Please help me out :slightly_smiling_face:

Best Regards

Adrian