different names in different dynamics
This commit is contained in:
@@ -21,7 +21,7 @@ class Dynamic extends Model
|
||||
|
||||
public function participants(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(User::class, 'participants')->withPivot('role');
|
||||
return $this->belongsToMany(User::class, 'participants')->withPivot('role', 'display_name');
|
||||
}
|
||||
|
||||
public function ledgers(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user