Wrong connection if model and relationship from different connections
Base model from one db connection (not default) and relation (on select) from different db connection (default) -> edit/update model ->update query uses relationship db connection (default). Ofcourse, there is error -> undefined table...
1 Reply
I'm sorry, I probably can't help, and inversely am quite interested in listening along as I think I need similar process to access a tenant's database Models from a Central App too.
I just wanted to say that your avatar next to the help request is brilliant 😅