migration – the storage factory of the entity_hierarchy.nested set has a non-existent service

I'm trying to start a site previously migrated and I get this error.

Symfony  Component  DependencyInjection  Exception  ServiceNotFoundException: The "entity_hierarchy.nested_set_storage_factory" service has a dependency on a non-existent "dbal_connection" service. in / app / ven

I have nothing at all in the DBA module. I think this was just necessary for the migration but I'm not sure how to remove this dependency without breaking the site.

Thank you