Skip to content

Use both MySQL Models and MongoDB models #6

Closed
@adamlc

Description

@adamlc

Our application uses both MySQL and MongoDB connections, but I'm afraid I can't get both working together.

I have tried various things such as tweaking namespaces etc. If I remove the 'Jenssegers\Mongodb\MongodbServiceProvider' from providers the MySQL eloquent models work as expected.

Is there any way to get them working side by side? My guess is the ConnectionResolver has been changed and its breaking MySQL models.

Im quite new to Laravel so not 100% if the above this the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions