setConnection('mysql2')->belongsTo(Account::class, 'account_id', 'id'); } public function bugReport() { return $this->belongsTo(BugTracker::class, 'id', 'bug_tracker_id'); } }