I have two models which represent tables from different databases. They work ok but I get problem when I want to set relations between them. I get error that tells that table does not exist.
I tried this in my model
public function tableName()
{
return 'database_2.shkoly';
}
But I get access error as connections to these databases use different users and passwords.