Multi-Tenancy with 2 different databases

Hi! I am Rohan, I am trying to apply multi-tenancy with multiple DB. I have two databases one central_db and second education db. I have to show the resources for the tables present in the central_db, my main database is education DB. Now tenancy team will be schools table in central_db. Now users table is in education DB and I have set a resource on User Model. But when I am trying to render the user resource, Laravel says education.schools table is not there I have attached the file with the code. Can someone help me out in where am I going wrong or is this how it will be for this scenario. Thank you
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server