Searchable for models/relationships with different database connections
I have a model with a connection to another database, when it appears in the list table it doesn't have a problem, but when the fields of the model are given searchable parameters an error occurs, it seems the error is because the search query is not connected to another database. is there a solution for this?
3 Replies
can you also include the code from your config/database.php file? I would like to see the connection entries.
Why dont you split your Apps?
Make a UserServiceApp, with an API
Any other Apps call that API ...
Like MicroServices
microservices.io
What are microservices?
Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of loosely coupled services, which implement business capabilities. The microservice architecture enables the continuous delivery/deployment of large, complex applications. It also enables an organization to evol...