Rename field for less confusion.

This commit is contained in:
James Cole
2023-10-22 07:12:47 +02:00
parent 9b22c16f14
commit 704fc24d20
4 changed files with 6 additions and 6 deletions

View File

@@ -137,7 +137,7 @@ class UserGroup extends Model
*/
public function currencies(): BelongsToMany
{
return $this->belongsToMany(TransactionCurrency::class);
return $this->belongsToMany(TransactionCurrency::class)->withTimestamps()->withPivot('group_default');
}
/**