You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your models happen to use different connection you must provide protected $connection = 'connection_name' for each model. Otherwise, belongsTo() will call default database which is defined in $this model instead of connection defined in belongsTo() model.
The text was updated successfully, but these errors were encountered:
If your models happen to use different connection you must provide
protected $connection = 'connection_name'
for each model. Otherwise,belongsTo()
will call default database which is defined in$this
model instead of connection defined inbelongsTo()
model.The text was updated successfully, but these errors were encountered: