changes
This commit is contained in:
@@ -55,6 +55,7 @@ public function segments(): BelongsToMany
|
||||
|
||||
public function account(): HasOne
|
||||
{
|
||||
// Use latestOfMany to always surface newest account snapshot if multiple exist.
|
||||
return $this->hasOne(\App\Models\Account::class)
|
||||
->latestOfMany()
|
||||
->with('type');
|
||||
|
||||
Reference in New Issue
Block a user